X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmatrix.h;h=1782dc66a958257e90a439ec0bd2a180b6e58e41;hb=7f888de83aa5398fafaa7661547ee80395377b5c;hp=42e70c985d5d78d0cc22d408e187f1dda7a5f025;hpb=705986ebcdd24573791aa58c7a8f2b7549c918a3;p=libs%2Fgl.git diff --git a/source/matrix.h b/source/matrix.h index 42e70c98..1782dc66 100644 --- a/source/matrix.h +++ b/source/matrix.h @@ -98,13 +98,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 &);