Camera.setPerspective

Sets the camera projection to perspective mode (see constant PROJECTION_PERSPECTIVE), by specifying a fov (field of view) angle in degrees, and the z_near and z_far clip planes in world space units.

struct Camera
@nogc nothrow
void
setPerspective
(
in double fov
,
in double z_near
,
in double z_far
)

Meta