progress on twnlua bindgen
This commit is contained in:
1 parent
8c401eda75
commit
f3848d2d52
3 files changed
+66
-9
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user