Graphics/InstancedRenderable: Take a const reference to the matrix instead of a non-const one
Former-commit-id: a2c84a7e8f1c3f91bb53e60eb95aec43c77bdce9 [formerly 966bf202d970596c9917805c3bb54dd04f84891f] [formerly 7372d35968df90baea6655c6439d545f454cd549 [formerly edc986573b5aa4e26805d484aa25dc98db1b99c1]] Former-commit-id: 0a81a7c0eb3bb9c3ca45060f1348f7d0e944c473 [formerly 60dda05c845ed52fc0d54976ad06f2261496b105] Former-commit-id: 6b3e85831f9631220837194f1f684f3350a93bc3
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Ndk
|
||||
|
||||
struct Renderable
|
||||
{
|
||||
Renderable(Nz::Matrix4f& transformMatrix) :
|
||||
Renderable(const Nz::Matrix4f& transformMatrix) :
|
||||
data(transformMatrix),
|
||||
dataUpdated(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user