openframeworks/openFrameworks — pull request #782 by github-user32 (2011-10-19 03:26:31+00:00)
Title: Added 3D versions of ofCurve(), ofBezier(), ofVertex() and ofBezierVertex()

ofGraphics.h already has 3D versions of ofTriangle(), ofCircle() etc.

To match these, I've added 3D versions of ofCurve(), ofBezier(), ofVertex() and ofBezierVertex() which really just pass an additional (z) coordinate through to the underlying shape path.

In ofGraphics.cpp only, I've also fixed all instances of opening braces to match the OF coding style guide. ie. Opening brace on same line as start of statement, without preceding space.

Just noticed that some of my new function declarations exceed the 100 character width in the OF coding style guide...but there are a number of other functions in the same file that already do too. Happy to fix it if you can point at an example of how you split function declarations over multiple lines - the coding style guide doesn't seem to address it directly...