mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-25 06:19:02 -06:00
Fix some model matrices for models (that should now be specified as Mat4s rather than mat3)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user