pub struct Plane {
transformation: Transformation,
material: Material,
}Expand description
Geometrical shape corresponding to a plane.
Fields§
§transformation: TransformationA generic plane is defined by means of a Transformation
on the X-Y plane.
A scaling transformation has the
effect to change the sides length of the basic rectangle in the plane’s
parametrization.
material: MaterialThe Material of the sphere.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Plane
impl Send for Plane
impl Sync for Plane
impl Unpin for Plane
impl UnwindSafe for Plane
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