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 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]

[src]

Formats the value using the given formatter.

impl Copy for IPLTriangle
[src]

impl Clone for IPLTriangle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more