|
@@ -2107,6 +2107,17 @@ declare module "babylonjs/Maths/math.vector" {
|
|
*/
|
|
*/
|
|
negate(): Vector2;
|
|
negate(): Vector2;
|
|
/**
|
|
/**
|
|
|
|
+ * Negate this vector in place
|
|
|
|
+ * @returns this
|
|
|
|
+ */
|
|
|
|
+ negateInPlace(): Vector2;
|
|
|
|
+ /**
|
|
|
|
+ * Negate the current Vector2 and stores the result in the given vector "result" coordinates
|
|
|
|
+ * @param result defines the Vector3 object where to store the result
|
|
|
|
+ * @returns the current Vector2
|
|
|
|
+ */
|
|
|
|
+ negateToRef(result: Vector2): Vector2;
|
|
|
|
+ /**
|
|
* Multiply the Vector2 coordinates by scale
|
|
* Multiply the Vector2 coordinates by scale
|
|
* @param scale defines the scaling factor
|
|
* @param scale defines the scaling factor
|
|
* @returns the current updated Vector2
|
|
* @returns the current updated Vector2
|
|
@@ -2463,6 +2474,12 @@ declare module "babylonjs/Maths/math.vector" {
|
|
*/
|
|
*/
|
|
negateInPlace(): Vector3;
|
|
negateInPlace(): Vector3;
|
|
/**
|
|
/**
|
|
|
|
+ * Negate the current Vector3 and stores the result in the given vector "result" coordinates
|
|
|
|
+ * @param result defines the Vector3 object where to store the result
|
|
|
|
+ * @returns the current Vector3
|
|
|
|
+ */
|
|
|
|
+ negateToRef(result: Vector3): Vector3;
|
|
|
|
+ /**
|
|
* Multiplies the Vector3 coordinates by the float "scale"
|
|
* Multiplies the Vector3 coordinates by the float "scale"
|
|
* @param scale defines the multiplier factor
|
|
* @param scale defines the multiplier factor
|
|
* @returns the current updated Vector3
|
|
* @returns the current updated Vector3
|
|
@@ -3184,6 +3201,17 @@ declare module "babylonjs/Maths/math.vector" {
|
|
*/
|
|
*/
|
|
negate(): Vector4;
|
|
negate(): Vector4;
|
|
/**
|
|
/**
|
|
|
|
+ * Negate this vector in place
|
|
|
|
+ * @returns this
|
|
|
|
+ */
|
|
|
|
+ negateInPlace(): Vector4;
|
|
|
|
+ /**
|
|
|
|
+ * Negate the current Vector4 and stores the result in the given vector "result" coordinates
|
|
|
|
+ * @param result defines the Vector3 object where to store the result
|
|
|
|
+ * @returns the current Vector4
|
|
|
|
+ */
|
|
|
|
+ negateToRef(result: Vector4): Vector4;
|
|
|
|
+ /**
|
|
* Multiplies the current Vector4 coordinates by scale (float).
|
|
* Multiplies the current Vector4 coordinates by scale (float).
|
|
* @param scale the number to scale with
|
|
* @param scale the number to scale with
|
|
* @returns the updated Vector4.
|
|
* @returns the updated Vector4.
|
|
@@ -74751,6 +74779,17 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
negate(): Vector2;
|
|
negate(): Vector2;
|
|
/**
|
|
/**
|
|
|
|
+ * Negate this vector in place
|
|
|
|
+ * @returns this
|
|
|
|
+ */
|
|
|
|
+ negateInPlace(): Vector2;
|
|
|
|
+ /**
|
|
|
|
+ * Negate the current Vector2 and stores the result in the given vector "result" coordinates
|
|
|
|
+ * @param result defines the Vector3 object where to store the result
|
|
|
|
+ * @returns the current Vector2
|
|
|
|
+ */
|
|
|
|
+ negateToRef(result: Vector2): Vector2;
|
|
|
|
+ /**
|
|
* Multiply the Vector2 coordinates by scale
|
|
* Multiply the Vector2 coordinates by scale
|
|
* @param scale defines the scaling factor
|
|
* @param scale defines the scaling factor
|
|
* @returns the current updated Vector2
|
|
* @returns the current updated Vector2
|
|
@@ -75107,6 +75146,12 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
negateInPlace(): Vector3;
|
|
negateInPlace(): Vector3;
|
|
/**
|
|
/**
|
|
|
|
+ * Negate the current Vector3 and stores the result in the given vector "result" coordinates
|
|
|
|
+ * @param result defines the Vector3 object where to store the result
|
|
|
|
+ * @returns the current Vector3
|
|
|
|
+ */
|
|
|
|
+ negateToRef(result: Vector3): Vector3;
|
|
|
|
+ /**
|
|
* Multiplies the Vector3 coordinates by the float "scale"
|
|
* Multiplies the Vector3 coordinates by the float "scale"
|
|
* @param scale defines the multiplier factor
|
|
* @param scale defines the multiplier factor
|
|
* @returns the current updated Vector3
|
|
* @returns the current updated Vector3
|
|
@@ -75828,6 +75873,17 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
negate(): Vector4;
|
|
negate(): Vector4;
|
|
/**
|
|
/**
|
|
|
|
+ * Negate this vector in place
|
|
|
|
+ * @returns this
|
|
|
|
+ */
|
|
|
|
+ negateInPlace(): Vector4;
|
|
|
|
+ /**
|
|
|
|
+ * Negate the current Vector4 and stores the result in the given vector "result" coordinates
|
|
|
|
+ * @param result defines the Vector3 object where to store the result
|
|
|
|
+ * @returns the current Vector4
|
|
|
|
+ */
|
|
|
|
+ negateToRef(result: Vector4): Vector4;
|
|
|
|
+ /**
|
|
* Multiplies the current Vector4 coordinates by scale (float).
|
|
* Multiplies the current Vector4 coordinates by scale (float).
|
|
* @param scale the number to scale with
|
|
* @param scale the number to scale with
|
|
* @returns the updated Vector4.
|
|
* @returns the updated Vector4.
|