bevy_mikktspace

Function generate_tangents

Source
pub fn generate_tangents<I: Geometry>(geometry: &mut I) -> bool
Expand description

Generates tangents for the input geometry.

ยงErrors

Returns false if the geometry is unsuitable for tangent generation including, but not limited to, lack of vertices.