ivutils
|
Sphere
- sphere.
Important members and methods of the class:
this->init(vec_type R, const Vector_3 ¢er)
- constructor, builds an sphere with radius R and centre at ¢er.Example
Vector_3 origin (0,0,0); //Lets make sphere with radius R and centre at (0, 0, 0) double r = 2; Sphere sphere(r, &origin);