var DEFAULT_CAMERA_HEIGHT = require('../../../constants/').DEFAULT_CAMERA_HEIGHT;
var registerPrimitive = require('../primitives').registerPrimitive;

registerPrimitive('a-camera', {
  defaultComponents: {
    camera: {
      userHeight: DEFAULT_CAMERA_HEIGHT
    },
    'look-controls': {},
    'wasd-controls': {}
  },

  mappings: {
    active: 'camera.active',
    far: 'camera.far',
    fov: 'camera.fov',
    'look-controls-enabled': 'look-controls.enabled',
    near: 'camera.near',
    'wasd-controls-enabled': 'wasd-controls.enabled',
    'reverse-mouse-drag': 'look-controls.reverseMouseDrag',
    'user-height': 'look-controls.userHeight',
    zoom: 'camera.zoom'
  }
});

@@ -203,22 +203,49 @@
 : %7B%0A    
+'
 camera
+': %7B%7D,%0A    'look-controls'
 : %7B%0A    
@@ -291,33 +291,8 @@
  %7D,%0A
-    'look-controls': %7B%7D,%0A
     

set default user height a-camera (#3284)