Fix init order
This commit is contained in:
@@ -21,11 +21,11 @@ namespace openVulkanoCpp
|
||||
Math::Matrix4f viewProjection, view, projection;
|
||||
Math::Vector4f camPosition;
|
||||
|
||||
Camera() : width(0), height(0), nearPlane(0), farPlane(0), projection(1), view(1), viewProjection(1) {}
|
||||
Camera() : width(0), height(0), nearPlane(0), farPlane(0), viewProjection(1), view(1), projection(1) {}
|
||||
|
||||
Camera(float width, float height, float nearPlane, float farPlane)
|
||||
: width(width), height(height), nearPlane(nearPlane), farPlane(farPlane)
|
||||
, projection(1), view(1), viewProjection(1)
|
||||
, viewProjection(1), view(1), projection(1)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user