Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int testSphereClone(BRLCAD::Sphere sph)
- {
- BRLCAD::Sphere sph2;
- sph2=sph.clone();
- if(sph2.Center().coordinates[0]==sph.Center().coordinates[0] && sph2.Center().coordinates[1]==sph.Center().coordinates[1] && sph2.Center().coordinates[2]==sph.Center().coordinates[2] && sph2.Radius()==sph.Radius() ) return 0;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement