Fix some model matrices for models (that should now be specified as Mat4s rather than mat3)

This commit is contained in:
Emma Broman
2023-05-23 16:04:57 +02:00
parent 4d9d4717d3
commit 24f9acf903
5 changed files with 20 additions and 15 deletions

View File

@@ -27,9 +27,10 @@ local iKernels = {
}
local RotationMatrix = {
-1, 0, 0,
0, 0, -1,
0, -1, 0
-1, 0, 0, 0,
0, 0, -1, 0,
0, -1, 0, 0,
0, 0, 0, 1
}
local LightSources = {

View File

@@ -52,9 +52,10 @@ local LocalKernels = {
local RotationMatrix = {
1, 0, 0,
0, 0, -1,
0, 1, 0
1, 0, 0, 0,
0, 0, -1, 0,
0, 1, 0, 0,
0, 0, 0, 1
}
local Messenger = {

View File

@@ -66,9 +66,10 @@ local RosettaKernels = {
}
local RotationMatrix = {
0, 1, 0,
0, 0, 1,
1, 0, 0
0, 1, 0, 0,
0, 0, 1, 0,
1, 0, 0, 0,
0, 0, 0, 1
}
local RosettaPosition = {

View File

@@ -27,9 +27,10 @@ local Kernels = {
}
local RotationMatrix = {
-1, 0, 0,
0, 0, -1,
0, -1, 0
-1, 0, 0, 0,
0, 0, -1, 0,
0, -1, 0, 0,
0, 0, 0, 1
}
local Voyager1 = {

View File

@@ -30,9 +30,10 @@ local Kernels = {
}
local RotationMatrix = {
-1, 0, 0,
0, 0, -1,
0, -1, 0
-1, 0, 0, 0,
0, 0, -1, 0,
0, -1, 0, 0,
0, 0, 0, 1
}