bilca commited on
Commit
7f10211
·
verified ·
1 Parent(s): 091f6e1

Update orbit-camera.js

Browse files
Files changed (1) hide show
  1. 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: 20, title: 'Pitch Angle Max (degrees)' });
9
- OrbitCamera.attributes.add('pitchAngleMin', { type: 'number', default: -90, 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
 
 
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