ofDoc > 3d > ofIcoSpherePrimitive

ofIcoSpherePrimitive

Protected Attributes

float radius

Public Functions

ofIcoSpherePrimitive (float radius, int iterations)
void set (float radius, int res)
void setResolution (int iterations)
void setRadius (float radius)
void setMode (ofPrimitiveMode mode)
float getRadius () const
int getResolution () const