impoves raylib_parser: makes it generic, adds -d key for functions define (RLAPI for raylib.h), increases maxiumum number of fields in structs and values in enums, doubles max length of struct field names; split float3/float16 struct typedefs in raymath to allow parser to process the file (#1901)
This commit is contained in:
parent
a9f6ff6fe3
commit
6ef3ab3d3a
2 changed files with 43 additions and 24 deletions
|
@ -135,8 +135,13 @@
|
|||
#endif
|
||||
|
||||
// NOTE: Helper types to be used instead of array return types for *ToFloat functions
|
||||
typedef struct float3 { float v[3]; } float3;
|
||||
typedef struct float16 { float v[16]; } float16;
|
||||
typedef struct float3 {
|
||||
float v[3];
|
||||
} float3;
|
||||
|
||||
typedef struct float16 {
|
||||
float v[16];
|
||||
} float16;
|
||||
|
||||
#include <math.h> // Required for: sinf(), cosf(), tan(), atan2f(), sqrtf(), fminf(), fmaxf(), fabs()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue