Camera

A set of projections used to manage windows and views

struct Camera {
Transform project;
Transform unproject;
Transform opengl;
}

Constructors

this
this(in Rectangle windowSize, in Rectangle world, in Transform cameraTransform = Transform())

Create a camera with a given window size and view of the world

Meta