Enum collada::Shape
[−]
[src]
pub enum Shape {
Point(VTNIndex),
Line(VTNIndex, VTNIndex),
Triangle(VTNIndex, VTNIndex, VTNIndex),
}The various shapes supported by this library.
Convex polygons more complicated than a triangle are automatically converted into triangles.
Variants
Point(VTNIndex)A point specified by its position.
Line(VTNIndex, VTNIndex)A line specified by its endpoints.
Triangle(VTNIndex, VTNIndex, VTNIndex)A triangle specified by its three vertices.
Trait Implementations
impl Clone for Shape[src]
fn clone(&self) -> Shape[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more