ofDoc
>
3d
>
ofSpherePrimitive
Topics
Protected Attributes
Public Functions
ofSpherePrimitive
Protected Attributes
float
radius
int
resolution
Public Functions
ofSpherePrimitive
()
ofSpherePrimitive
(float radius, int res, ofPrimitiveMode mode=OF_PRIMITIVE_TRIANGLE_STRIP)
~ofSpherePrimitive
()
void
set
(float radius, int resolution, ofPrimitiveMode mode=OF_PRIMITIVE_TRIANGLE_STRIP)
void
setResolution
(int res)
void
setRadius
(float radius)
void
setMode
(ofPrimitiveMode mode)
float
getRadius
() const
int
getResolution
() const