浏览代码

docs: added stackblitz demo for orbit controls

Alvaro 2 年之前
父节点
当前提交
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.