Fix axis layout and implement click raytracing

This commit is contained in:
2021-07-30 22:41:05 +02:00
parent 4c2409dbd0
commit 02ba2bb95a
8 changed files with 167 additions and 98 deletions

View File

@@ -8,25 +8,6 @@
}
],
"objects": [
{
"mesh_index": 0,
"position": [
0.0,
0.0,
0.0
],
"rotation": [
1.0,
0.0,
0.0,
0.0
],
"scale": [
1.0,
1.0,
1.0
]
},
{
"mesh_index": 1,
"position": [
@@ -50,15 +31,15 @@
"player": {
"mesh_index": null,
"position": [
-3.0608184,
-1.0,
-3.0598369
0,
0,
5.0
],
"rotation": [
0.15801395,
0.031636234,
0.96772224,
0.19375017
1,
0,
0,
0
],
"scale": [
1.0,