Skip to content

firstPersonRotation

firstPersonRotation(yaw, pitch): Quat

Defined in: src/modules/camera-3d/rigs.ts:33

The orientation of a yaw-then-pitch look: turn yaw radians about world +Y, then tilt pitch radians about the turned +X — Euler order YXZ, no roll. (0, 0) looks down -Z; positive yaw turns left, positive pitch looks up.

number

number

Quat