Browse Source

Added dummy draw() to Camera, so it doesn't get hidden by the other.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
69cad8862f
  1. 3
      src/Camera.h

3
src/Camera.h

@ -127,6 +127,9 @@ class MAGNUM_EXPORT Camera: public Object {
*/
virtual void draw();
/* It's here just so the function is not hidden by draw() */
virtual void draw(const Matrix4& transformationMatrix, Camera* camera) {}
protected:
/**
* Recalculates camera matrix.

Loading…
Cancel
Save