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
_align: [u32; 0]
UpTan: f32
The tangent of the angle between the viewing vector and the top edge of the field of view.
DownTan: f32
The tangent of the angle between the viewing vector and the bottom edge of the field of view.
LeftTan: f32
The tangent of the angle between the viewing vector and the left edge of the field of view.
RightTan: f32
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]
impl Copy for ovrFovPort
[src]
impl Clone for ovrFovPort
[src]
fn clone(&self) -> ovrFovPort
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more