Explorar el Código

docs: added stackblitz demo for orbit controls

Alvaro hace 2 años
padre
commit
09ffbe9cf8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      docs/examples/orbit-controls.md

+ 2 - 0
docs/examples/orbit-controls.md

@@ -1,5 +1,7 @@
 # OrbitControls
 # OrbitControls
 
 
+<**StackBlitzEmbed** projectId="tresjs-basic" />
+
 [OrbitControls](https://threejs.org/docs/index.html?q=orbit#examples/en/controls/OrbitControls) is a camera controller that allows you to orbit around a target. It's a great way to explore your scene.
 [OrbitControls](https://threejs.org/docs/index.html?q=orbit#examples/en/controls/OrbitControls) is a camera controller that allows you to orbit around a target. It's a great way to explore your scene.
 
 
 However is not part of the core of ThreeJS. So to use it you would need to import it from the `three/examples/jsm/controls/OrbitControls` module.
 However is not part of the core of ThreeJS. So to use it you would need to import it from the `three/examples/jsm/controls/OrbitControls` module.