Hello,
I noticed three is a compile-time error when using the code at https://docs.vulkan.org/tutorial/latest/Building_a_Simple_Engine/Engine_Architecture/03_component_systems.html#:~:text=glm%3A%3Amat4,projectionMatrix%3B%20%7D
Assigning to perspectiveMatrix breaks const-correctness here which results in a compile error. I think just removing const specifier on this method fixes the problem as I get no compile-time error. If it's correct and I'm wrong don't hesitate to say so, but please explain me why.
Best regards,
ajvp
Hello,
I noticed three is a compile-time error when using the code at https://docs.vulkan.org/tutorial/latest/Building_a_Simple_Engine/Engine_Architecture/03_component_systems.html#:~:text=glm%3A%3Amat4,projectionMatrix%3B%20%7D
Assigning to perspectiveMatrix breaks const-correctness here which results in a compile error. I think just removing const specifier on this method fixes the problem as I get no compile-time error. If it's correct and I'm wrong don't hesitate to say so, but please explain me why.
Best regards,
ajvp