Browse Source

docs: added stackblitz demo for orbit controls

Alvaro 2 năm trước cách đây
mục cha
commit
09ffbe9cf8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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.