From 944df99d2a3aa16e506e3edd30ab4b01925c7845 Mon Sep 17 00:00:00 2001
From: lazaray <104470294+lazaray@users.noreply.github.com>
Date: Wed, 4 May 2022 10:57:00 +0200
Subject: [PATCH] Regenerate parser output
---
parser/raylib_api.json | 48 +++++++++++++++++++++---------------------
parser/raylib_api.lua | 48 +++++++++++++++++++++---------------------
parser/raylib_api.txt | 24 ++++++++++-----------
parser/raylib_api.xml | 24 ++++++++++-----------
4 files changed, 72 insertions(+), 72 deletions(-)
diff --git a/parser/raylib_api.json b/parser/raylib_api.json
index a680b16e6..98a939b25 100644
--- a/parser/raylib_api.json
+++ b/parser/raylib_api.json
@@ -577,8 +577,8 @@
"description": "Material maps array (MAX_MATERIAL_MAPS)"
},
{
- "type": "float",
- "name": "params[4]",
+ "type": "float[4]",
+ "name": "params",
"description": "Material generic parameters (if required)"
}
]
@@ -609,8 +609,8 @@
"description": "Bone, skeletal animation bone",
"fields": [
{
- "type": "char",
- "name": "name[32]",
+ "type": "char[32]",
+ "name": "name",
"description": "Bone name"
},
{
@@ -909,13 +909,13 @@
"description": "IPD (distance between pupils) in meters"
},
{
- "type": "float",
- "name": "lensDistortionValues[4]",
+ "type": "float[4]",
+ "name": "lensDistortionValues",
"description": "Lens distortion constant parameters"
},
{
- "type": "float",
- "name": "chromaAbCorrection[4]",
+ "type": "float[4]",
+ "name": "chromaAbCorrection",
"description": "Chromatic aberration correction parameters"
}
]
@@ -925,43 +925,43 @@
"description": "VrStereoConfig, VR stereo rendering configuration for simulator",
"fields": [
{
- "type": "Matrix",
- "name": "projection[2]",
+ "type": "Matrix[2]",
+ "name": "projection",
"description": "VR projection matrices (per eye)"
},
{
- "type": "Matrix",
- "name": "viewOffset[2]",
+ "type": "Matrix[2]",
+ "name": "viewOffset",
"description": "VR view offset matrices (per eye)"
},
{
- "type": "float",
- "name": "leftLensCenter[2]",
+ "type": "float[2]",
+ "name": "leftLensCenter",
"description": "VR left lens center"
},
{
- "type": "float",
- "name": "rightLensCenter[2]",
+ "type": "float[2]",
+ "name": "rightLensCenter",
"description": "VR right lens center"
},
{
- "type": "float",
- "name": "leftScreenCenter[2]",
+ "type": "float[2]",
+ "name": "leftScreenCenter",
"description": "VR left screen center"
},
{
- "type": "float",
- "name": "rightScreenCenter[2]",
+ "type": "float[2]",
+ "name": "rightScreenCenter",
"description": "VR right screen center"
},
{
- "type": "float",
- "name": "scale[2]",
+ "type": "float[2]",
+ "name": "scale",
"description": "VR distortion scale"
},
{
- "type": "float",
- "name": "scaleIn[2]",
+ "type": "float[2]",
+ "name": "scaleIn",
"description": "VR distortion scale in"
}
]
diff --git a/parser/raylib_api.lua b/parser/raylib_api.lua
index 4a94b7d29..8888fadef 100644
--- a/parser/raylib_api.lua
+++ b/parser/raylib_api.lua
@@ -577,8 +577,8 @@ return {
description = "Material maps array (MAX_MATERIAL_MAPS)"
},
{
- type = "float",
- name = "params[4]",
+ type = "float[4]",
+ name = "params",
description = "Material generic parameters (if required)"
}
}
@@ -609,8 +609,8 @@ return {
description = "Bone, skeletal animation bone",
fields = {
{
- type = "char",
- name = "name[32]",
+ type = "char[32]",
+ name = "name",
description = "Bone name"
},
{
@@ -909,13 +909,13 @@ return {
description = "IPD (distance between pupils) in meters"
},
{
- type = "float",
- name = "lensDistortionValues[4]",
+ type = "float[4]",
+ name = "lensDistortionValues",
description = "Lens distortion constant parameters"
},
{
- type = "float",
- name = "chromaAbCorrection[4]",
+ type = "float[4]",
+ name = "chromaAbCorrection",
description = "Chromatic aberration correction parameters"
}
}
@@ -925,43 +925,43 @@ return {
description = "VrStereoConfig, VR stereo rendering configuration for simulator",
fields = {
{
- type = "Matrix",
- name = "projection[2]",
+ type = "Matrix[2]",
+ name = "projection",
description = "VR projection matrices (per eye)"
},
{
- type = "Matrix",
- name = "viewOffset[2]",
+ type = "Matrix[2]",
+ name = "viewOffset",
description = "VR view offset matrices (per eye)"
},
{
- type = "float",
- name = "leftLensCenter[2]",
+ type = "float[2]",
+ name = "leftLensCenter",
description = "VR left lens center"
},
{
- type = "float",
- name = "rightLensCenter[2]",
+ type = "float[2]",
+ name = "rightLensCenter",
description = "VR right lens center"
},
{
- type = "float",
- name = "leftScreenCenter[2]",
+ type = "float[2]",
+ name = "leftScreenCenter",
description = "VR left screen center"
},
{
- type = "float",
- name = "rightScreenCenter[2]",
+ type = "float[2]",
+ name = "rightScreenCenter",
description = "VR right screen center"
},
{
- type = "float",
- name = "scale[2]",
+ type = "float[2]",
+ name = "scale",
description = "VR distortion scale"
},
{
- type = "float",
- name = "scaleIn[2]",
+ type = "float[2]",
+ name = "scaleIn",
description = "VR distortion scale in"
}
}
diff --git a/parser/raylib_api.txt b/parser/raylib_api.txt
index e4d86951b..972b4d65a 100644
--- a/parser/raylib_api.txt
+++ b/parser/raylib_api.txt
@@ -149,7 +149,7 @@ Struct 18: Material (3 fields)
Description: Material, includes shader and maps
Field[1]: Shader shader // Material shader
Field[2]: MaterialMap * maps // Material maps array (MAX_MATERIAL_MAPS)
- Field[3]: float params[4] // Material generic parameters (if required)
+ Field[3]: float[4] params // Material generic parameters (if required)
Struct 19: Transform (3 fields)
Name: Transform
Description: Transform, vectex transformation data
@@ -159,7 +159,7 @@ Struct 19: Transform (3 fields)
Struct 20: BoneInfo (2 fields)
Name: BoneInfo
Description: Bone, skeletal animation bone
- Field[1]: char name[32] // Bone name
+ Field[1]: char[32] name // Bone name
Field[2]: int parent // Bone parent
Struct 21: Model (9 fields)
Name: Model
@@ -237,19 +237,19 @@ Struct 30: VrDeviceInfo (10 fields)
Field[6]: float eyeToScreenDistance // Distance between eye and display in meters
Field[7]: float lensSeparationDistance // Lens separation distance in meters
Field[8]: float interpupillaryDistance // IPD (distance between pupils) in meters
- Field[9]: float lensDistortionValues[4] // Lens distortion constant parameters
- Field[10]: float chromaAbCorrection[4] // Chromatic aberration correction parameters
+ Field[9]: float[4] lensDistortionValues // Lens distortion constant parameters
+ Field[10]: float[4] chromaAbCorrection // Chromatic aberration correction parameters
Struct 31: VrStereoConfig (8 fields)
Name: VrStereoConfig
Description: VrStereoConfig, VR stereo rendering configuration for simulator
- Field[1]: Matrix projection[2] // VR projection matrices (per eye)
- Field[2]: Matrix viewOffset[2] // VR view offset matrices (per eye)
- Field[3]: float leftLensCenter[2] // VR left lens center
- Field[4]: float rightLensCenter[2] // VR right lens center
- Field[5]: float leftScreenCenter[2] // VR left screen center
- Field[6]: float rightScreenCenter[2] // VR right screen center
- Field[7]: float scale[2] // VR distortion scale
- Field[8]: float scaleIn[2] // VR distortion scale in
+ Field[1]: Matrix[2] projection // VR projection matrices (per eye)
+ Field[2]: Matrix[2] viewOffset // VR view offset matrices (per eye)
+ Field[3]: float[2] leftLensCenter // VR left lens center
+ Field[4]: float[2] rightLensCenter // VR right lens center
+ Field[5]: float[2] leftScreenCenter // VR left screen center
+ Field[6]: float[2] rightScreenCenter // VR right screen center
+ Field[7]: float[2] scale // VR distortion scale
+ Field[8]: float[2] scaleIn // VR distortion scale in
Aliases found: 5
diff --git a/parser/raylib_api.xml b/parser/raylib_api.xml
index 142ccd115..db7761c52 100644
--- a/parser/raylib_api.xml
+++ b/parser/raylib_api.xml
@@ -130,7 +130,7 @@
-
+
@@ -138,7 +138,7 @@
-
+
@@ -206,18 +206,18 @@
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+