minus

operator fun Matrix3.minus(matrix3: Matrix3): Matrix3

Return

this matrix for chaining.

Parameters

matrix3

values from this matrix will be subtracted from this matrix.


operator fun Matrix4.minus(matrix4: Matrix4): Matrix4

Return

this matrix for chaining.

Parameters

matrix4

values from this matrix will be subtracted from this matrix.


operator fun IntRange.minus(subtrahend: Int): IntRange

Creates a range by shifting this range's start and endInclusive by the subtrahend.


operator fun Vector2.minus(vector2: Vector2): Vector2

Return

a new Vector2 instance with the operation result.

Parameters

vector2

values from vector will be subtracted from vector.


operator fun Vector2.minus(subtrahend: Float): Vector2
operator fun Vector2.minus(subtrahend: Int): Vector2

Return

a new Vector2 instance with the operation result.

Parameters

subtrahend

this value will be subtracted from both x and y of the vector.


operator fun Vector3.minus(vector3: Vector3): Vector3

Return

a new Vector3 instance with the operation result.

Parameters

vector3

values from this vector will be subtracted from this vector.


operator fun Vector3.minus(vector2: Vector2): Vector3

Modifies x and y components of this vector.

Return

a new Vector3 instance with the operation result.

Parameters

vector2

values from this vector will be subtracted from this vector.


operator fun Vector3.minus(subtrahend: Float): Vector3
operator fun Vector3.minus(subtrahend: Int): Vector3

Return

a new Vector3 instance with the operation result.

Parameters

subtrahend

will be subtracted from to x, y and z components of this vector.


operator fun Vector4.minus(vector4: Vector4): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

vector4

values from this vector will be subtracted from this vector.


operator fun Vector4.minus(vector2: Vector2): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

vector2

values from this vector will be subtracted from this vector.


operator fun Vector4.minus(vector3: Vector3): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

vector3

values from this vector will be subtracted from this vector.


operator fun Vector4.minus(subtrahend: Float): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

subtrahend

will be subtracted from to X, Y, Z and W componentsof this vector.


operator fun Vector4.minus(subtrahend: Int): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

subtrahend

will be subtracted from to X, Y, Z and W components of this vector.