natiny_model_set_mesh
void natiny_model_set_mesh(NatinyModel model, NatinyMesh mesh);
Sets which geometry this model places.
Parameters
| Name | Type | Description |
|---|---|---|
model |
NatinyModel |
Model handle |
mesh |
NatinyMesh |
Mesh handle, or 0 to empty the model |
Example
natiny_model_set_mesh(box, sphere_mesh);