3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 09:15:32 +02:00

Merge pull request from huffman/fix/horizontal-vertical-angle-particles

Fix horizontal and vertical props in entity properties being swapped
This commit is contained in:
Jeff Clinton 2018-11-08 12:42:48 -08:00 committed by GitHub
commit d349c1e672
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -902,13 +902,13 @@ const GROUPS = [
{
label: "Horizontal Angle Start",
type: "slider",
min: -180,
max: 0,
min: 0,
max: 180,
step: 1,
decimals: 0,
multiplier: DEGREES_TO_RADIANS,
unit: "deg",
propertyID: "azimuthStart",
propertyID: "polarStart",
},
{
label: "Horizontal Angle Finish",
@ -919,18 +919,18 @@ const GROUPS = [
decimals: 0,
multiplier: DEGREES_TO_RADIANS,
unit: "deg",
propertyID: "azimuthFinish",
propertyID: "polarFinish",
},
{
label: "Vertical Angle Start",
type: "slider",
min: 0,
max: 180,
min: -180,
max: 0,
step: 1,
decimals: 0,
multiplier: DEGREES_TO_RADIANS,
unit: "deg",
propertyID: "polarStart",
propertyID: "azimuthStart",
},
{
label: "Vertical Angle Finish",
@ -941,7 +941,7 @@ const GROUPS = [
decimals: 0,
multiplier: DEGREES_TO_RADIANS,
unit: "deg",
propertyID: "polarFinish",
propertyID: "azimuthFinish",
},
]
},