pub struct RayBuf {Show 14 fields
pub status: Vec<RayStatus>,
pub vig: Vec<u32>,
pub xyz: Vec<V3>,
pub lmn: Vec<V3>,
pub opl: Vec<f64>,
pub p: Vec<V3>,
pub k: Vec<V3>,
pub p0: Vec<V3>,
pub k0: Vec<V3>,
pub opl_os: Vec<f64>,
pub lens_opd: Vec<f64>,
pub parity: f64,
pub last: usize,
pub hx_hy: (f64, f64),
/* private fields */
}Expand description
追跡の結果の列。書かなかった列は空
Fields§
§status: Vec<RayStatus>§vig: Vec<u32>けられた面(0 = けられていない)
xyz: Vec<V3>§lmn: Vec<V3>§opl: Vec<f64>§p: Vec<V3>§k: Vec<V3>§p0: Vec<V3>§k0: Vec<V3>§opl_os: Vec<f64>§lens_opd: Vec<f64>§parity: f64(-1)^(通過した鏡の数)
last: usize§hx_hy: (f64, f64)Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RayBuf
impl RefUnwindSafe for RayBuf
impl Send for RayBuf
impl Sync for RayBuf
impl Unpin for RayBuf
impl UnsafeUnpin for RayBuf
impl UnwindSafe for RayBuf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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