Struct ovr_sys::ovrFovPort [] [src]

#[repr(C)]
pub struct ovrFovPort { pub _align: [u32; 0], pub UpTan: f32, pub DownTan: f32, pub LeftTan: f32, pub RightTan: f32, }

Describes the up, down, left, and right angles of the field of view.

Field Of View (FOV) tangent of the angle units.

Note: For a standard 90 degree vertical FOV, we would have: { UpTan = tan(90 degrees / 2), DownTan = tan(90 degrees / 2) }.

Fields

The tangent of the angle between the viewing vector and the top edge of the field of view.

The tangent of the angle between the viewing vector and the bottom edge of the field of view.

The tangent of the angle between the viewing vector and the left edge of the field of view.

The tangent of the angle between the viewing vector and the right edge of the field of view.

Trait Implementations

impl Debug for ovrFovPort
[src]

Formats the value using the given formatter.

impl Copy for ovrFovPort
[src]

impl Clone for ovrFovPort
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more