浏览代码

TS: Object3D.quaternion doc fix

Per https://threejs.org/docs/#api/en/core/Object3D, this is the *local* Quaternion.
Jacob Jaffe 4 年之前
父节点
当前提交
f7dbcd79f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/Object3D.d.ts

+ 1 - 1
src/core/Object3D.d.ts

@@ -75,7 +75,7 @@ export class Object3D extends EventDispatcher {
 	readonly rotation: Euler;
 
 	/**
-	 * Global rotation.
+	 * Object's local rotation as a Quaternion.
 	 * @default new THREE.Quaternion()
 	 */
 	readonly quaternion: Quaternion;