Structs§
Functions§
- create_
glb - Creates a GLB object that can be written to a file
- create_
gltf_ root - Creates the root JSON object for GLTF
- image_
to_ vertices - Converts an image to list of vertices that can be used to create a mesh Each pixel will be converted to a voxel with height determined by the height argument The faces of the voxel will be culled if they are not visible
- to_
padded_ byte_ vector - Creates a padded byte vector from a generic vector Needed for creating the GLB/GLTF file