Skip to main content

suzanne

Function suzanne 

Source
pub fn suzanne() -> Result<Mesh, Diagnostic>
Expand description

Loads the bundled CC0 Suzanne test mesh in metres with its original normals.

Data is pinned to the Khronos sample asset credited to UX3D and Norbert Nopper. scripts/generate-suzanne.py records source hashes and reproducibly converts it into this allocation-bounded, platform-independent format.

§Errors

Returns a diagnostic if the bundled asset is corrupt or fails mesh validation.