[of-dev] setting ofPrimitiveMode

Kyle McDonald kyle at kylemcdonald.net
Fri Apr 22 17:19:15 PDT 2011


so i've discovered ofPrimitiveMode, which seems to be for setting the
shape style, but i haven't found the function that lets you set what
ofPrimitiveMode is being used during ofBeginShape()/endShape().

is there a function for this?

will it be an argument to ofBeginShape() eventually?

i was looking at using ofBeginShape()/endShape() as an alternative to
glBegin()/end() but it looks like it doesn't really wrap anything
besides tessellated polygons still.

kyle



More information about the of-dev mailing list