forked from Dynamitos/Seele
Why isnt this working....
This commit is contained in:
1 parent
a545426b32
commit
9a26fd75ca
6 files changed
+8
-10
No files matched your search
@@ -29,7 +29,7 @@ void VertexData::updateMesh(const Component::Transform& transform, PMesh mesh)
|
||||
matInstanceData.meshes.add(MeshInstanceData{
|
||||
.id = mesh->id,
|
||||
.instance = InstanceData {
|
||||
.transformMatrix = Matrix4(1),//transform.toMatrix(),
|
||||
.transformMatrix = transform.toMatrix(),
|
||||
},
|
||||
.indexBuffer = mesh->indexBuffer,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user