X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmatrix.cpp;h=7a91078621e647d293af0628d06044c95e719fcd;hb=b8b06a0ff96763ba7e188d9fcacbd8c0e3dcd515;hp=925961b4e0833e60b3994a014c87ab7bc147f199;hpb=84bc56b96c21c831104a22e0cbd0f3b72ab5d8c3;p=libs%2Fgl.git diff --git a/source/matrix.cpp b/source/matrix.cpp index 925961b4..7a910786 100644 --- a/source/matrix.cpp +++ b/source/matrix.cpp @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of libmspgl +Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #include "matrix.h" namespace Msp { @@ -13,6 +20,16 @@ void load_identity() glLoadIdentity(); } +void mult_matrix(const float *matrix) +{ + glMultMatrixf(matrix); +} + +void mult_matrix(const double *matrix) +{ + glMultMatrixd(matrix); +} + void push_matrix() { glPushMatrix();