pub struct GpuNormal {
pub normal: [f32; 3],
pub curvature: f32,
}Expand description
Per-point normal estimation output: (nx, ny, nz, curvature).
Fields§
§normal: [f32; 3]Unit normal x/y/z.
curvature: f32Surface variation curvature in [0, 1/3].
Trait Implementations§
impl Copy for GpuNormal
Auto Trait Implementations§
impl Freeze for GpuNormal
impl RefUnwindSafe for GpuNormal
impl Send for GpuNormal
impl Sync for GpuNormal
impl Unpin for GpuNormal
impl UnsafeUnpin for GpuNormal
impl UnwindSafe for GpuNormal
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