Struct ConicalDomeWedge
#[repr(C)]pub struct ConicalDomeWedge {
pub node_index: u32,
pub theta_center_rad: f32,
pub theta_extent_rad: f32,
pub phi_center_rad: f32,
pub phi_extent_rad: f32,
pub edge_blend_overlap: f32,
pub _reserved: [u8; 8],
}Expand description
Conical solid-angle wedge assigned to an individual projector node in a dome cluster.
Fields§
§node_index: u32§theta_center_rad: f32§theta_extent_rad: f32§phi_center_rad: f32§phi_extent_rad: f32§edge_blend_overlap: f32§_reserved: [u8; 8]Implementations§
§impl ConicalDomeWedge
impl ConicalDomeWedge
pub fn contains_ray(&self, ray_dir: [f32; 3]) -> bool
pub fn contains_ray(&self, ray_dir: [f32; 3]) -> bool
Tests if a normalized ray direction (x, y, z) falls within this conical display wedge.
Trait Implementations§
§impl Clone for ConicalDomeWedge
impl Clone for ConicalDomeWedge
§fn clone(&self) -> ConicalDomeWedge
fn clone(&self) -> ConicalDomeWedge
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 ConicalDomeWedge
§impl Debug for ConicalDomeWedge
impl Debug for ConicalDomeWedge
§impl PartialEq for ConicalDomeWedge
impl PartialEq for ConicalDomeWedge
impl Pod for ConicalDomeWedge
impl StructuralPartialEq for ConicalDomeWedge
Auto Trait Implementations§
impl Freeze for ConicalDomeWedge
impl RefUnwindSafe for ConicalDomeWedge
impl Send for ConicalDomeWedge
impl Sync for ConicalDomeWedge
impl Unpin for ConicalDomeWedge
impl UnsafeUnpin for ConicalDomeWedge
impl UnwindSafe for ConicalDomeWedge
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more