Spaces:
Running
Running
Update orbit-camera.js
Browse files- orbit-camera.js +4 -4
orbit-camera.js
CHANGED
@@ -6,10 +6,10 @@ var OrbitCamera = pc.createScript('orbitCamera');
|
|
6 |
|
7 |
OrbitCamera.attributes.add('distanceMax', { type: 'number', default: 0, title: 'Distance Max', description: 'Setting this at 0 will give an infinite distance limit' });
|
8 |
OrbitCamera.attributes.add('distanceMin', { type: 'number', default: 0, title: 'Distance Min' });
|
9 |
-
OrbitCamera.attributes.add('pitchAngleMax', { type: 'number', default:
|
10 |
-
OrbitCamera.attributes.add('pitchAngleMin', { type: 'number', default: -
|
11 |
-
OrbitCamera.attributes.add('yawAngleMax', { type: 'number', default:
|
12 |
-
OrbitCamera.attributes.add('yawAngleMin', { type: 'number', default: -
|
13 |
|
14 |
|
15 |
OrbitCamera.attributes.add('inertiaFactor', {
|
|
|
6 |
|
7 |
OrbitCamera.attributes.add('distanceMax', { type: 'number', default: 0, title: 'Distance Max', description: 'Setting this at 0 will give an infinite distance limit' });
|
8 |
OrbitCamera.attributes.add('distanceMin', { type: 'number', default: 0, title: 'Distance Min' });
|
9 |
+
OrbitCamera.attributes.add('pitchAngleMax', { type: 'number', default: 360, title: 'Pitch Angle Max (degrees)' });
|
10 |
+
OrbitCamera.attributes.add('pitchAngleMin', { type: 'number', default: -360, title: 'Pitch Angle Min (degrees)' });
|
11 |
+
OrbitCamera.attributes.add('yawAngleMax', { type: 'number', default: 360, title: 'Yaw Angle Max (degrees)' });
|
12 |
+
OrbitCamera.attributes.add('yawAngleMin', { type: 'number', default: -360, title: 'Yaw Angle Min (degrees)' });
|
13 |
|
14 |
|
15 |
OrbitCamera.attributes.add('inertiaFactor', {
|