pub struct PointTileConstants {
pub n0: [f32; 3],
pub rho: f32,
pub phase_cos: f32,
pub phase_sin: f32,
pub gain0: f32,
}Expand description
Tile-center constants for a spherical point source.
Fields§
§n0: [f32; 3]Unit direction from the source to the tile center.
rho: f32Reciprocal source-to-center distance.
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: f32Attenuated point-source gain at the tile center.
Trait Implementations§
Source§impl Clone for PointTileConstants
impl Clone for PointTileConstants
Source§fn clone(&self) -> PointTileConstants
fn clone(&self) -> PointTileConstants
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 PointTileConstants
Source§impl Debug for PointTileConstants
impl Debug for PointTileConstants
Source§impl PartialEq for PointTileConstants
impl PartialEq for PointTileConstants
impl StructuralPartialEq for PointTileConstants
Auto Trait Implementations§
impl Freeze for PointTileConstants
impl RefUnwindSafe for PointTileConstants
impl Send for PointTileConstants
impl Sync for PointTileConstants
impl Unpin for PointTileConstants
impl UnsafeUnpin for PointTileConstants
impl UnwindSafe for PointTileConstants
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