Method HadamardMod
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
HadamardMod(Vector2, Vector2)
Returns the floor modulus of each component of this vector by the corresponding component of otherVector.
[Version(1, 4, 4)]
public static Vector2 HadamardMod(this Vector2 thisVector, Vector2 otherVector)
Parameters
Returns
- Vector2
A new vector where each component is the floor modulus of the corresponding input components.
HadamardMod(Vector3, Vector3)
Returns the floor modulus of each component of this vector by the corresponding component of otherVector.
[Version(2, 0, 0)]
public static Vector3 HadamardMod(this Vector3 thisVector, Vector3 otherVector)
Parameters
Returns
- Vector3
A new vector where each component is the floor modulus of the corresponding input components.
HadamardMod(Vector4, Vector4)
Returns the floor modulus of each component of this vector by the corresponding component of otherVector.
[Version(2, 0, 0)]
public static Vector4 HadamardMod(this Vector4 thisVector, Vector4 otherVector)
Parameters
Returns
- Vector4
A new vector where each component is the floor modulus of the corresponding input components.