From 6ef3ab3d3ac98f2e8a77b4bd065008d2ce9d7e8f Mon Sep 17 00:00:00 2001 From: iskolbin Date: Thu, 29 Jul 2021 21:37:44 +0300 Subject: 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) --- src/raymath.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/raymath.h b/src/raymath.h index cc2cda82..3b65e382 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -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 // Required for: sinf(), cosf(), tan(), atan2f(), sqrtf(), fminf(), fmaxf(), fabs() -- cgit v1.2.3