m4x4 identity
This commit is contained in:
1 parent
5cc5862810
commit
0df43e5a08
4 files changed
+24
-15
No files matched your search
@@ -54,6 +54,9 @@ Mesh::~Mesh() {
|
||||
void Mesh::init() {
|
||||
id = rand() % 1000000;
|
||||
materialsCount = 0;
|
||||
translation = M4x4::Identity;
|
||||
rotation = M4x4::Identity;
|
||||
scale = M4x4::Identity;
|
||||
translation.translate(Vec4(0.0F, 0.0F, 0.0F, 1.0F));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user