Expose view and projection matrix to shader
This commit is contained in:
@@ -18,7 +18,7 @@ namespace openVulkanoCpp
|
||||
protected:
|
||||
float width, height, nearPlane, farPlane;
|
||||
|
||||
Math::Matrix4f projection, view, viewProjection;
|
||||
Math::Matrix4f viewProjection, view, projection;
|
||||
|
||||
Camera() : width(0), height(0), nearPlane(0), farPlane(0), projection(1), view(1), viewProjection(1) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user