|
@@ -762,6 +762,15 @@
|
|
|
result.y = this.y / otherVector.y;
|
|
|
return this;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Divides the current Vector3 coordinates by the passed ones.
|
|
|
+ * Returns the updated Vector3.
|
|
|
+ */
|
|
|
+ public divideInPlace(otherVector: Vector2): Vector2 {
|
|
|
+ return this.divideToRef(otherVector, this);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Returns a new Vector2 with current Vector2 negated coordinates.
|
|
|
*/
|
|
@@ -1290,6 +1299,14 @@
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Divides the current Vector3 coordinates by the passed ones.
|
|
|
+ * Returns the updated Vector3.
|
|
|
+ */
|
|
|
+ public divideInPlace(otherVector: Vector3): Vector3 {
|
|
|
+ return this.divideToRef(otherVector, this);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* Updates the current Vector3 with the minimal coordinate values between its and the passed vector ones.
|
|
|
* Returns the updated Vector3.
|
|
|
*/
|
|
@@ -2104,6 +2121,14 @@
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Divides the current Vector3 coordinates by the passed ones.
|
|
|
+ * Returns the updated Vector3.
|
|
|
+ */
|
|
|
+ public divideInPlace(otherVector: Vector4): Vector4 {
|
|
|
+ return this.divideToRef(otherVector, this);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* Updates the Vector4 coordinates with the minimum values between its own and the passed vector ones.
|
|
|
*/
|
|
|
public MinimizeInPlace(other: Vector4): Vector4 {
|