/// <summary> /// /// </summary> /// <param name="vector"></param> /// <param name="whole"></param> /// <returns></returns> public static Vector3f Fract(Vector3f vector, out Vector3i whole) { return(new Vector3f( SlurMath.Fract(vector.X, out whole.X), SlurMath.Fract(vector.Y, out whole.Y), SlurMath.Fract(vector.Z, out whole.Z))); }
/// <summary> /// /// </summary> /// <param name="vector"></param> /// <param name="whole"></param> /// <returns></returns> public static Vector2d Fract(Vector2d vector, out Vector2i whole) { return(new Vector2d( SlurMath.Fract(vector.X, out whole.X), SlurMath.Fract(vector.Y, out whole.Y))); }