Struct steam_audio::ffi::IPLTriangle
[−]
[src]
#[repr(C)]pub struct IPLTriangle { pub indices: [IPLint32; 3], }
A triangle in 3D space. Triangles are specified by their three vertices, which are in turn specified using indices into a vertex array. See iplSetStaticMeshVertices for how to specify the vertex array. Phonon uses a counter-clockwise winding order. This means that when looking at the triangle such that the normal is pointing towards you, the vertices are specified in counter-clockwise order.
Fields
indices: [IPLint32; 3]
< Indices of the three vertices of this triangle. Each triangle must be specified using three vertices; triangle strip or fan representations are not supported.
Trait Implementations
impl Debug for IPLTriangle
[src]
impl Copy for IPLTriangle
[src]
impl Clone for IPLTriangle
[src]
fn clone(&self) -> IPLTriangle
[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