Struct cem::v2::Vertex
[−]
[src]
pub struct Vertex { pub position: Point3<f32>, pub normal: Vector3<f32>, pub texture: Point2<f32>, }
A single vertex. Contains the position, a relevant vertex normal, and the position on the material's texture.
Fields
position: Point3<f32>
normal: Vector3<f32>
texture: Point2<f32>
Methods
impl Vertex
[src]
fn read<R>(r: &mut R) -> Result<Self> where
R: Read,
[src]
R: Read,
fn write<W>(&self, w: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,