put Vector3D and Matrix3/4 into Graphics namespace
This commit is contained in:
parent
34d97baaf3
commit
ba0576bc5e
26 changed files with 200 additions and 184 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue