diff --git a/src/engine/nodes/obj/PolarTransform.ts b/src/engine/nodes/obj/PolarTransform.ts index a8bbe30da..05b686ded 100644 --- a/src/engine/nodes/obj/PolarTransform.ts +++ b/src/engine/nodes/obj/PolarTransform.ts @@ -23,7 +23,7 @@ class PolarTransformObjParamConfig extends NodeParamsConfig { center = ParamConfig.VECTOR3([0, 0, 0]); /** @param moves the objects along the longitude, which is equivalent to a rotation on the y axis */ longitude = ParamConfig.FLOAT(0, { - range: [0, 360], + range: [-360, 360], }); /** @param moves the objects along the latitude, which is equivalent to a rotation on the z or x axis */ latitude = ParamConfig.FLOAT(0, { diff --git a/src/engine/nodes/sop/PolarTransform.ts b/src/engine/nodes/sop/PolarTransform.ts index ebfb1f862..0e067602b 100644 --- a/src/engine/nodes/sop/PolarTransform.ts +++ b/src/engine/nodes/sop/PolarTransform.ts @@ -27,7 +27,7 @@ class PolarTransformSopParamConfig extends NodeParamsConfig { center = ParamConfig.VECTOR3(DEFAULT.center.toArray()); /** @param moves the objects along the longitude, which is equivalent to a rotation on the y axis */ longitude = ParamConfig.FLOAT(DEFAULT.longitude, { - range: [0, 360], + range: [-360, 360], }); /** @param moves the objects along the latitude, which is equivalent to a rotation on the z or x axis */ latitude = ParamConfig.FLOAT(DEFAULT.latitude, {