Skip to content

cubeFaces beta ​

Function of @v12-engine/editor

ts
export declare function cubeFaces(yaw: number, pitch: number): CubeFace[];

Where each face of the cube stands for a view turned yaw and steep by pitch (radians, 90 degrees straight down), with the cube's half-side as the unit