openframeworks/openFrameworks — pull request #1604 by tgfrerer (2012-09-19 16:17:58+00:00)
Title: fix multiLightExample ofLight::draw

Resolves an issue where the debug view of a light would not be drawn at the proper position in multiLightExample.

When drawing a light, it's enough to call ```ofLight::draw()``` to draw it at the correct position, instead of ```ofLight::customDraw()```. [which should most probably be made a private method anyway].

ofLight inherits from ofNode, and ofNode takes care of the matrix transformations when ofNode::draw() gets called, and then calls customDraw() wrapped by the correct transformation matrices.

See also issue #1471