gltfToEngine top-level property

Matrix4 gltfToEngine
final

glTF is +Y up; the engine is +Y down with +Z into the screen. A 180° turn about X takes one to the other. It is a rotation, not a mirror, so triangle winding is kept.

Implementation

final Matrix4 gltfToEngine = Matrix4.diagonal3Values(1, -1, -1);