X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fmatrix.h;h=e32df7e3872ea6ea270ecfe0d13e8fe25db82d9c;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=42e70c985d5d78d0cc22d408e187f1dda7a5f025;hpb=705986ebcdd24573791aa58c7a8f2b7549c918a3;p=libs%2Fgl.git diff --git a/source/matrix.h b/source/matrix.h index 42e70c98..e32df7e3 100644 --- a/source/matrix.h +++ b/source/matrix.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_MATRIX_H_ #define MSP_GL_MATRIX_H_ @@ -98,13 +91,13 @@ private: public: MatrixStack(); - const Matrix &top(); + const Matrix &top() const; void load(const Matrix &); void multiply(const Matrix &); void push(); void pop(); private: - void update(); + virtual void update(); public: MatrixStack &operator=(const Matrix &);