@galacean/engine-math 2.0.0-alpha.47 → 2.0.0-alpha.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-math",
3
- "version": "2.0.0-alpha.47",
3
+ "version": "2.0.0-alpha.48",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -106,8 +106,9 @@ export declare class Vector3 implements IClone<Vector3>, ICopy<Vector3Like, Vect
106
106
  * Converts the vector into a unit vector.
107
107
  * @param a - The vector to normalize
108
108
  * @param out - The normalized vector
109
+ * @returns True if the vector has a unit form, otherwise false and `out` is left untouched
109
110
  */
110
- static normalize(a: Vector3, out: Vector3): void;
111
+ static normalize(a: Vector3, out: Vector3): boolean;
111
112
  /**
112
113
  * Scale a vector by the given value.
113
114
  * @param a - The vector to scale