Skip to main content

CAMERA_DISTANCE

Constant CAMERA_DISTANCE 

Source
const CAMERA_DISTANCE: f32 = 3.0;
Expand description

How far in front of the patches the camera sits, in world units.

A perspective camera looking straight down -Z from here: every patch lies in the z = 0 plane, so they all project at the same scale and the grid stays even on screen.