Fixing skybox

This commit is contained in:
Dynamitos committed 2024-01-02 16:48:03 +01:00
1 parent 4b58ab84be
commit 1ff3ddf9a3
11 files changed
+159 -49

No files matched your search

+7 -5
View File
@@ -28,13 +28,15 @@ struct Camera
void moveX(float amount);
void moveY(float amount);
void buildViewMatrix();
Matrix4 viewMatrix;
Vector cameraPos;
//Transforms relative to actor
float yaw;
float pitch;
bool mainCamera = false;
private:
float yaw;
float pitch;
// Spring arm transform
Math::Transform relativeTransform;
Matrix4 viewMatrix;
Vector cameraPos;
bool bNeedsViewBuild;
};
} // namespace Component