Files
QuaternionEngine/third_party/fastgltf/tests/gltf/transform_matrices.gltf

41 lines
643 B
JSON

{
"asset": {
"version": "2.0"
},
"cameras": [
{
"perspective": {
"yfov": 1.0,
"zfar": 1.0,
"znear": 0.001
},
"type": "perspective"
}
],
"nodes": [
{
"name": "TRS components",
"camera": 0,
"translation": [
1.0, 1.0, 1.0
],
"rotation": [
0.0, 1.0, 0.0, 0.0
],
"scale": [
2.0, 0.5, 1.0
]
},
{
"name": "Matrix",
"camera": 0,
"matrix": [
-2.0, 0.0, 0.0, 0.0,
0.0, 0.5, 0.0, 0.0,
0.0, 0.0, -1.0, 0.0,
1.0, 1.0, 1.0, 1.0
]
}
]
}