Skip to main content

node_transform

Function node_transform 

Source
fn node_transform(transform: Transform) -> DAffine3
Available on crate feature gltf only.
Expand description

Converts a glTF node transform to a [DAffine3]: the 4x4 matrix as-is, or the decomposed T * R * S (glTF semantics; the glTF crate’s [gltf::scene::Transform::matrix] uses the same equation).