public static Vector3 HadamardMod(this Vector3 thisVector, Vector3 otherVector) { return(new Vector3( GLMathf.FloorMod(thisVector.x, otherVector.x), GLMathf.FloorMod(thisVector.y, otherVector.y), GLMathf.FloorMod(thisVector.z, otherVector.z))); }
public static Vector4 HadamardMod(this Vector4 thisVector, Vector4 otherVector) { return(new Vector4( GLMathf.FloorMod(thisVector.x, otherVector.x), GLMathf.FloorMod(thisVector.y, otherVector.y), GLMathf.FloorMod(thisVector.z, otherVector.z), GLMathf.FloorMod(thisVector.w, otherVector.w))); }
public static Vector2 HadamardMod(this Vector2 thisVector, Vector2 otherVector) { return(new Vector2( GLMathf.FloorMod(thisVector.x, otherVector.x), GLMathf.FloorMod(thisVector.y, otherVector.y))); }