Finality Engine
Loading...
Searching...
No Matches
Camera.h File Reference

Stores camera projection and view configuration. More...

#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>

Go to the source code of this file.

Classes

class  FINALITY::Camera
 Stores camera projection and view configuration. More...

Namespaces

namespace  FINALITY

Detailed Description

Stores camera projection and view configuration.

Camera state drives view-dependent rendering. The engine uses Vulkan zero-to-one projection depth; visibility tests and rendering must use the same projection convention.

Usage
Keep view and projection matrices current with camera transforms and viewport aspect. Enable optional occlusion only after checking correctness and cost in the intended scene.

Definition in file Camera.h.