Browse Source

Don't use virtual when reimplementing virtual function.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
62d1860db1
  1. 2
      src/Camera.h
  2. 2
      src/IndexedMesh.h
  3. 2
      src/Light.h

2
src/Camera.h

@ -119,7 +119,7 @@ class MAGNUM_EXPORT Camera: public Object {
/**
* Recalculates camera matrix.
*/
virtual void setClean();
void setClean();
private:
Matrix4 rawProjectionMatrix;

2
src/IndexedMesh.h

@ -74,7 +74,7 @@ class MAGNUM_EXPORT IndexedMesh: public Mesh {
* Binds attributes to buffers, bind index buffer and draws the mesh.
* Expects an active shader with all uniforms set.
*/
virtual void draw();
void draw();
private:
Buffer _indexBuffer;

2
src/Light.h

@ -47,7 +47,7 @@ class Light: public Object {
/**
* Recomputes light position.
*/
virtual void setClean();
void setClean();
private:
Vector3 _position;

Loading…
Cancel
Save