pub struct RayVals {
pub xyz: [f64; 3],
pub lmn: [f64; 3],
pub nor: [f64; 3],
pub len: f64,
pub opl: f64,
pub opth: f64,
pub gp: [f64; 3],
pub gk: [f64; 3],
}Expand description
面ごとの光線の値(RAYX … の順)
Fields§
§xyz: [f64; 3]局所座標の交点・面の後の向き・法線
lmn: [f64; 3]§nor: [f64; 3]§len: f64前の面からの幾何的な長さ・光路長(RAYT・RAYO)、物体からの光路長(OPTH)
opl: f64§opth: f64§gp: [f64; 3]大域座標の交点・向き
gk: [f64; 3]Trait Implementations§
Auto Trait Implementations§
impl Freeze for RayVals
impl RefUnwindSafe for RayVals
impl Send for RayVals
impl Sync for RayVals
impl Unpin for RayVals
impl UnsafeUnpin for RayVals
impl UnwindSafe for RayVals
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