Class Camera2D
Defined in File camera.h
Inheritance Relationships
Base Type
public CE::Rendering::CameraBase(Class CameraBase)
Class Documentation
-
class Camera2D : public CE::Rendering::CameraBase
Declaration:
finalY-up GLM orthographic camera spanning [0,width] by [0,height], near/far 0/1.
Public Functions
-
Camera2D()
Compute the initial orthographic projection at revision zero; a zero initial pixel extent uses one pixel per axis.
Protected Functions
-
virtual void recalculate_projection() override
Recompute Y-up orthographic bounds using at least one pixel per framebuffer axis, without selecting depth policy.
-
Camera2D()