progress on twnlua bindgen

This commit is contained in:
veclavtalica
2025-01-09 21:47:08 +03:00
parent 8c401eda75
commit f3848d2d52
3 changed files with 66 additions and 9 deletions

View File

@ -64,7 +64,7 @@ TWN_API void draw_billboard(const char *texture,
/* sets a perspective 3d camera to be used for all 3d commands */
TWN_API void draw_camera(Vec3 position, float fov, Vec3 up, Vec3 direction);
/* same as draw_camera(), but with specific use case */
/* same as draw_camera(), but with first person controller in mind */
/* direction and up vectors are inferred from roll, pitch and yaw parameters (in radians) */
/* return value is direction and up vectors, so that you can use them in logic (such as controllers) */
typedef struct DrawCameraFromPrincipalAxesResult {