put Vector3D and Matrix3/4 into Graphics namespace

This commit is contained in:
Pawel Kolodziejski 2009-05-25 12:13:35 +00:00
parent 34d97baaf3
commit ba0576bc5e
26 changed files with 200 additions and 184 deletions

View file

@ -25,6 +25,8 @@
#include "graphics/matrix4.h"
namespace Graphics {
Matrix4::Matrix4() {
_pos.set(0.f, 0.f, 0.f);
_rot.setAsIdentity();
@ -38,3 +40,4 @@ void Matrix4::translate(float x, float y, float z) {
_pos += v;
}
} // end of namespace Graphics