In Three.js when using the OrbitControls I get an Uncaught TypeError: THREE.OrbitControls is not a constructor when I try to instantiate it
<p>When I go to create an instance of the OrbitControls I end up getting </p>

<p>Uncaught TypeError: THREE.OrbitControls is not a constructor.</p>

<p><a href="https://i.stack.imgur.com/DRLkp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DRLkp.png" alt="enter image description here"></a></p>

<p>My code is very simple however I'm obviously missing something.</p>

<pre><code> var orbitalControl = new THREE.OrbitControls(camera, renderer.domElement);
</code></pre>

<p>The version of Three.js I'm using is the one straight off of threejs.org from the examples download directory. Any ideas to what I might be missing?</p>

<p>Thanks for your help.</p>