dao::camera::View
struct
A view of the world: where the eye is and which way it looks.
Declared in dao/Camera.h.
Fields
| Field | Type | |
|---|---|---|
eye |
Vector |
in the world, in metres |
pitch |
float = 0.0F |
the tilt, in radians, from -pi/2 to pi/2, up positive |
yaw |
float = 0.0F |
The heading, in radians: 0 looks along +y, -pi/2 along +x, so x = -sin(yaw) and y = cos(yaw) are the way the view faces on the ground. |