openframeworks/openFrameworks — pull request #1905 by SoylentGraham (2013-03-01 22:57:48+00:00)
Title: Added optional z param to ofVec3f( ofVec2f ) constructor, and swizzles

Useful accessors for 3D <-> 2D vector conversion.
The ofVec2f constructor for ofVec3f now takes a Z too so we can construct a little more simply
ofVec3f World3( GetWorld2(), 100.f );