Просмотр исходного кода

docs: added stackblitz demo for orbit controls

Alvaro 2 лет назад
Родитель
Сommit
09ffbe9cf8
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      docs/examples/orbit-controls.md

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

@@ -1,5 +1,7 @@
 # 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.
 
 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.