natiny_model_create

C
NatinyModel natiny_model_create(void);

Creates an empty model. A model handle is also a NatinyEntity, so natiny_entity_* functions can transform and parent it.

Returns

Type Description
NatinyModel Model handle, also usable as a NatinyEntity; 0 on failure

Example

C
NatinyModel box  = natiny_model_create();