mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 04:31:34 -10:00
remove angles from the submodel instance
This commit is contained in:
1 parent
020f14fb51
commit
554bbb884d
6 files changed
+49
-37
No files matched your search
@@ -119,7 +119,6 @@ ADE_VIRTVAR(Orientation, l_Subsystem, "orientation", "Orientation of subobject o
|
||||
{
|
||||
smi->canonical_prev_orient = smi->canonical_orient;
|
||||
smi->canonical_orient = *mh->GetMatrix();
|
||||
smi->canonical_angs = *mh->GetAngles();
|
||||
}
|
||||
|
||||
return ade_set_args(L, "o", l_Matrix.Set(matrix_h(&smi->canonical_orient)));
|
||||
@@ -143,7 +142,6 @@ ADE_VIRTVAR(GunOrientation, l_Subsystem, "orientation", "Orientation of turret g
|
||||
{
|
||||
smi->canonical_prev_orient = smi->canonical_orient;
|
||||
smi->canonical_orient = *mh->GetMatrix();
|
||||
smi->canonical_angs = *mh->GetAngles();
|
||||
}
|
||||
|
||||
return ade_set_args(L, "o", l_Matrix.Set(matrix_h(&smi->canonical_orient)));
|
||||
|
||||
Reference in new issue
Block a user