Struct geometry::Geometry [] [src]

pub struct Geometry(pub Vec<Range>);

A geometry consists of a list of triangles. The triangles are stored separately, in a triangle list u32 index buffer.

Methods

impl Geometry
[src]

Creates a new geometry layer.

Creates new geometry from Wavefront OBJ format to vertex and index buffer.

Adds new geometry.