public void Repeat(float min, float max, out Vector2 result) { result.X = FMath.Repeat(this.X, min, max); result.Y = FMath.Repeat(this.Y, min, max); }
public static float Wrap(float x, float min, float max) { return(FMath.Repeat(x, min, max)); }
public void Repeat(ref Vector2 min, ref Vector2 max, out Vector2 result) { result.X = FMath.Repeat(this.X, min.X, max.X); result.Y = FMath.Repeat(this.Y, min.Y, max.Y); }
public void Repeat(ref Vector3 min, ref Vector3 max, out Vector3 result) { result.X = FMath.Repeat(this.X, min.X, max.X); result.Y = FMath.Repeat(this.Y, min.Y, max.Y); result.Z = FMath.Repeat(this.Z, min.Z, max.Z); }