Enum collada::Shape [] [src]

pub enum Shape {
    Point(VTNIndex),
    Line(VTNIndexVTNIndex),
    Triangle(VTNIndexVTNIndexVTNIndex),
}

The various shapes supported by this library.

Convex polygons more complicated than a triangle are automatically converted into triangles.

Variants

A point specified by its position.

A line specified by its endpoints.

A triangle specified by its three vertices.

Trait Implementations

impl Clone for Shape
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Shape
[src]

impl Debug for Shape
[src]

Formats the value using the given formatter.

impl Hash for Shape
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more