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