1 parent a15d5f7 commit 2d37081Copy full SHA for 2d37081
1 file changed
src/common/components/mesh-renderer.cpp
@@ -9,5 +9,6 @@ namespace our {
9
// Notice how we just get a string from the json file and pass it to the AssetLoader to get us the actual asset
10
mesh = AssetLoader<Mesh>::get(data["mesh"].get<std::string>());
11
material = AssetLoader<Material>::get(data["material"].get<std::string>());
12
+ transform = glm::mat4(1.0f); // default value for the transform is the identity matrix
13
}
14
} // namespace our
0 commit comments