X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmatrix.h;fp=source%2Fmatrix.h;h=6aae6df0a0e5f2a494e570932f044cb64c89d8de;hb=2997aeeea512437e8b8f61bef4cb329756888695;hp=5444b8b4e4fae1c1789077ea58eb2099a06d8e58;hpb=1ddd5b2a0c4ab104d90db427af0f24991fc40580;p=libs%2Fgl.git diff --git a/source/matrix.h b/source/matrix.h index 5444b8b4..6aae6df0 100644 --- a/source/matrix.h +++ b/source/matrix.h @@ -107,38 +107,6 @@ public: static MatrixStack &projection(); }; - -/* The stuff below is deprecated and preserved (for now) only for compatibility -with existing applications */ - -enum MatrixMode -{ - MODELVIEW = GL_MODELVIEW, - PROJECTION = GL_PROJECTION, - TEXTURE = GL_TEXTURE -}; - -void matrix_mode(MatrixMode); -void load_identity(); -void load_matrix(const float *); -void load_matrix(const double *); -void mult_matrix(const float *); -void mult_matrix(const double *); -void push_matrix(); -void pop_matrix(); - -/// RAII object - pushes matrix when constructed and pops when destroyed -struct PushMatrix -{ - PushMatrix() { push_matrix(); } - ~PushMatrix() { pop_matrix(); } -}; - -void translate(float, float, float); -void rotate(float, float, float, float); -void scale(float, float, float); -void scale_uniform(float); - } // namespace GL } // namespace Msp