pub struct PlaneTileConstants {
pub direction: [f32; 3],
pub signed_distance0_m: f64,
pub phase_cos: f32,
pub phase_sin: f32,
pub gain0: f32,
}Expand description
Tile-center constants for a forward plane source.
Fields§
§direction: [f32; 3]Forward unit direction, rounded once from host f64.
signed_distance0_m: f64Host f64 signed distance from the phase plane to the tile center.
phase_cos: f32Host f64 cosine of the absolute phase, rounded once to f32.
phase_sin: f32Host f64 sine of the absolute phase, rounded once to f32.
gain0: f32Host f64 attenuated gain at the tile center, rounded once to f32.
Trait Implementations§
Source§impl Clone for PlaneTileConstants
impl Clone for PlaneTileConstants
Source§fn clone(&self) -> PlaneTileConstants
fn clone(&self) -> PlaneTileConstants
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlaneTileConstants
Source§impl Debug for PlaneTileConstants
impl Debug for PlaneTileConstants
Source§impl PartialEq for PlaneTileConstants
impl PartialEq for PlaneTileConstants
impl StructuralPartialEq for PlaneTileConstants
Auto Trait Implementations§
impl Freeze for PlaneTileConstants
impl RefUnwindSafe for PlaneTileConstants
impl Send for PlaneTileConstants
impl Sync for PlaneTileConstants
impl Unpin for PlaneTileConstants
impl UnsafeUnpin for PlaneTileConstants
impl UnwindSafe for PlaneTileConstants
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more