Trait rin::graphics::Normal [−][src]
pub trait Normal {
type Normal;
pub fn normal(&self) -> &Self::Normal;
pub fn normal_mut(&mut self) -> &mut Self::Normal;
}Associated Types
Loading content...Required methods
Loading content...Implementors
impl Normal for Vertex[src]
impl Normal for Vertex[src]type Normal = Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>
pub fn normal(
&self
) -> &Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>[src]
&self
) -> &Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>
pub fn normal_mut(
&mut self
) -> &mut Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>[src]
&mut self
) -> &mut Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>
impl Normal for Vertex3DColorNormal[src]
impl Normal for Vertex3DColorNormal[src]type Normal = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn normal(
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>[src]
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn normal_mut(
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>[src]
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
impl Normal for Vertex3DNormal[src]
impl Normal for Vertex3DNormal[src]type Normal = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn normal(
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>[src]
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn normal_mut(
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>[src]
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
impl Normal for Vertex3DTexNormal[src]
impl Normal for Vertex3DTexNormal[src]type Normal = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn normal(
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>[src]
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn normal_mut(
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>[src]
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>