#include <MySphere.h>
Inheritance diagram for MySphere:
Public Methods | |
virtual void | Init (MyObject *obj) |
Initialisation of this object with another object. | |
MySphere (CPoint3D position, float radius, float lineWidth, GLubyte *rgba) | |
Constructor initialising position, radius, line width. | |
virtual bool | IsInside (CPoint3D position) |
Test if pos is inside or outside object. | |
virtual void | Draw () |
Draw function for drawing this object in window using OpenGL. | |
float | GetRadius () |
Returns radius of sphere. | |
void | SetRadius (float radius) |
Sets radius of sphere. | |
MySphere () | |
Standard constructor. | |
virtual | ~MySphere () |