Ver Fonte

docs: added stackblitz demo for orbit controls

Alvaro há 2 anos atrás
pai
commit
09ffbe9cf8
1 ficheiros alterados com 2 adições e 0 exclusões
  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.