Struct rust_pathtracer::globals::LightSampleRec
source · pub struct LightSampleRec {
pub normal: F3,
pub emission: F3,
pub direction: F3,
pub dist: F,
pub pdf: F,
}Fields§
§normal: F3§emission: F3§direction: F3§dist: F§pdf: FImplementations§
Trait Implementations§
source§impl Clone for LightSampleRec
impl Clone for LightSampleRec
source§fn clone(&self) -> LightSampleRec
fn clone(&self) -> LightSampleRec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LightSampleRec
impl Debug for LightSampleRec
source§impl PartialEq<LightSampleRec> for LightSampleRec
impl PartialEq<LightSampleRec> for LightSampleRec
source§fn eq(&self, other: &LightSampleRec) -> bool
fn eq(&self, other: &LightSampleRec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.