Regenerate parser output
This commit is contained in:
parent
5222744d99
commit
d6d05c38a7
|
|
@ -69,22 +69,82 @@
|
|||
"fields": [
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m0, m4, m8, m12",
|
||||
"name": "m0",
|
||||
"description": "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m1, m5, m9, m13",
|
||||
"name": "m4",
|
||||
"description": "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m8",
|
||||
"description": "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m12",
|
||||
"description": "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m1",
|
||||
"description": "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m2, m6, m10, m14",
|
||||
"name": "m5",
|
||||
"description": "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m9",
|
||||
"description": "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m13",
|
||||
"description": "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m2",
|
||||
"description": "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m3, m7, m11, m15",
|
||||
"name": "m6",
|
||||
"description": "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m10",
|
||||
"description": "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m14",
|
||||
"description": "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m3",
|
||||
"description": "Matrix fourth row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m7",
|
||||
"description": "Matrix fourth row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m11",
|
||||
"description": "Matrix fourth row (4 components)"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "m15",
|
||||
"description": "Matrix fourth row (4 components)"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -69,22 +69,82 @@ return {
|
|||
fields = {
|
||||
{
|
||||
type = "float",
|
||||
name = "m0, m4, m8, m12",
|
||||
name = "m0",
|
||||
description = "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m1, m5, m9, m13",
|
||||
name = "m4",
|
||||
description = "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m8",
|
||||
description = "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m12",
|
||||
description = "Matrix first row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m1",
|
||||
description = "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m2, m6, m10, m14",
|
||||
name = "m5",
|
||||
description = "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m9",
|
||||
description = "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m13",
|
||||
description = "Matrix second row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m2",
|
||||
description = "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m3, m7, m11, m15",
|
||||
name = "m6",
|
||||
description = "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m10",
|
||||
description = "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m14",
|
||||
description = "Matrix third row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m3",
|
||||
description = "Matrix fourth row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m7",
|
||||
description = "Matrix fourth row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m11",
|
||||
description = "Matrix fourth row (4 components)"
|
||||
},
|
||||
{
|
||||
type = "float",
|
||||
name = "m15",
|
||||
description = "Matrix fourth row (4 components)"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,13 +19,25 @@ Struct 03: Vector4 (4 fields)
|
|||
Field[2]: float y // Vector y component
|
||||
Field[3]: float z // Vector z component
|
||||
Field[4]: float w // Vector w component
|
||||
Struct 04: Matrix (4 fields)
|
||||
Struct 04: Matrix (16 fields)
|
||||
Name: Matrix
|
||||
Description: Matrix, 4x4 components, column major, OpenGL style, right handed
|
||||
Field[1]: float m0, m4, m8, m12 // Matrix first row (4 components)
|
||||
Field[2]: float m1, m5, m9, m13 // Matrix second row (4 components)
|
||||
Field[3]: float m2, m6, m10, m14 // Matrix third row (4 components)
|
||||
Field[4]: float m3, m7, m11, m15 // Matrix fourth row (4 components)
|
||||
Field[1]: float m0 // Matrix first row (4 components)
|
||||
Field[2]: float m4 // Matrix first row (4 components)
|
||||
Field[3]: float m8 // Matrix first row (4 components)
|
||||
Field[4]: float m12 // Matrix first row (4 components)
|
||||
Field[5]: float m1 // Matrix second row (4 components)
|
||||
Field[6]: float m5 // Matrix second row (4 components)
|
||||
Field[7]: float m9 // Matrix second row (4 components)
|
||||
Field[8]: float m13 // Matrix second row (4 components)
|
||||
Field[9]: float m2 // Matrix third row (4 components)
|
||||
Field[10]: float m6 // Matrix third row (4 components)
|
||||
Field[11]: float m10 // Matrix third row (4 components)
|
||||
Field[12]: float m14 // Matrix third row (4 components)
|
||||
Field[13]: float m3 // Matrix fourth row (4 components)
|
||||
Field[14]: float m7 // Matrix fourth row (4 components)
|
||||
Field[15]: float m11 // Matrix fourth row (4 components)
|
||||
Field[16]: float m15 // Matrix fourth row (4 components)
|
||||
Struct 05: Color (4 fields)
|
||||
Name: Color
|
||||
Description: Color, 4 components, R8G8B8A8 (32bit)
|
||||
|
|
|
|||
|
|
@ -16,11 +16,23 @@
|
|||
<Field type="float" name="z" desc="Vector z component" />
|
||||
<Field type="float" name="w" desc="Vector w component" />
|
||||
</Struct>
|
||||
<Struct name="Matrix" fieldCount="4" desc="Matrix, 4x4 components, column major, OpenGL style, right handed">
|
||||
<Field type="float" name="m0, m4, m8, m12" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m1, m5, m9, m13" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m2, m6, m10, m14" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m3, m7, m11, m15" desc="Matrix fourth row (4 components)" />
|
||||
<Struct name="Matrix" fieldCount="16" desc="Matrix, 4x4 components, column major, OpenGL style, right handed">
|
||||
<Field type="float" name="m0" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m4" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m8" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m12" desc="Matrix first row (4 components)" />
|
||||
<Field type="float" name="m1" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m5" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m9" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m13" desc="Matrix second row (4 components)" />
|
||||
<Field type="float" name="m2" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m6" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m10" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m14" desc="Matrix third row (4 components)" />
|
||||
<Field type="float" name="m3" desc="Matrix fourth row (4 components)" />
|
||||
<Field type="float" name="m7" desc="Matrix fourth row (4 components)" />
|
||||
<Field type="float" name="m11" desc="Matrix fourth row (4 components)" />
|
||||
<Field type="float" name="m15" desc="Matrix fourth row (4 components)" />
|
||||
</Struct>
|
||||
<Struct name="Color" fieldCount="4" desc="Color, 4 components, R8G8B8A8 (32bit)">
|
||||
<Field type="unsigned char" name="r" desc="Color red value" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user