pub type Camera = Camera3D;
Expand description
Camera type fallback, defaults to Camera3D
Aliased Type§
#[repr(C)]pub struct Camera {
pub position: Vector3,
pub target: Vector3,
pub up: Vector3,
pub fovy: f32,
pub projection: i32,
}
Fields§
§position: Vector3
Camera position
target: Vector3
Camera target it looks-at
up: Vector3
Camera up vector (rotation over its axis)
fovy: f32
Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic
projection: i32
Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC