wip model loading + workers

This commit is contained in:
veclavtalica
2025-02-07 10:19:36 +03:00
parent cb88b4bcc5
commit 7040d6f218
12 changed files with 1881 additions and 2 deletions

View File

@ -111,6 +111,10 @@ draw_camera_from_principal_axes(Vec3 position,
/* expects '*' masks that will be expanded to 6 names: 'up', 'down', 'east', 'west', 'north' and 'south' */
TWN_API void draw_skybox(const char *textures);
TWN_API void draw_model(const char *model,
Vec3 position, /* optional, default: 0 */
Vec3 rotation, /* optional, default: (0, 0, 1) */
Vec3 scale); /* optional, default: (1, 1, 1) */
#ifndef TWN_NOT_C