Struct ovr_sys::ovrFovPort
source · #[repr(C)]pub struct ovrFovPort {
pub _align: [u32; 0],
pub UpTan: f32,
pub DownTan: f32,
pub LeftTan: f32,
pub RightTan: f32,
}
Expand description
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§
source§impl Clone for ovrFovPort
impl Clone for ovrFovPort
source§fn clone(&self) -> ovrFovPort
fn clone(&self) -> ovrFovPort
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more