ofDoc > 3d > ofPlanePrimitive

ofPlanePrimitive

Protected Attributes

Public Functions

ofPlanePrimitive (float width, float height, int columns, int rows, ofPrimitiveMode mode=OF_PRIMITIVE_TRIANGLE_STRIP)
void set (float width, float height, int columns, int rows, ofPrimitiveMode mode=OF_PRIMITIVE_TRIANGLE_STRIP)
void set (float width, float height)
void resizeToTexture (ofTexture &inTexture, float scale=1.f)
void setWidth (float width)
void setHeight (float height)
void setColumns (int columns)
void setRows (int rows)
void setResolution (int columns, int rows)
void setMode (ofPrimitiveMode mode)
int getNumColumns () const
int getNumRows () const
float getWidth () const
float getHeight () const