Prechádzať zdrojové kódy

TS: Object3D.quaternion doc fix

Per https://threejs.org/docs/#api/en/core/Object3D, this is the *local* Quaternion.
Jacob Jaffe 4 rokov pred
rodič
commit
f7dbcd79f5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;