openframeworks/openFrameworks — Issue #766: ofNode should have a draw(float size) option
Author: ofZach
Created: 2011-10-08 09:38:46+00:00
State: open

at the moment, ofNode has a draw function that has awkwardly hard coded sizes:

virtual void customDraw() {
ofBox(10);
ofDrawAxis(20);
}

I'd like a draw(size) option. obviously I can extend ofNode and create my own functions, but if I just draw a node, I might want to adjust the size internally, as the "10" and "20" might not make any sense based on where I am drawing, for example here:

http://imgur.com/idWPp

looks quite weird, but at 1/10th the size would look ok.

as most other OF objects have draw(size) options, I think ofNodeShould have this too.