Skip to content

Sweep beta ​

Interface of @v12-engine/render

ts
export interface Sweep

How far shadows fall: the sun's way, the floor they fall to, and the farthest one is taken to reach

Members ​

floor ​

ts
floor: number;

The height shadows fall to

longest ​

ts
longest: number;

The farthest a shadow is taken to reach along the sun's way, in cells

x ​

ts
x: number;

The sun's way across, of length 1 with y and z

y ​

ts
y: number;

The sun's way up: below 0, the way it falls

z ​

ts
z: number;

The sun's way along, of length 1 with x and y