public Vector4D Clamp(Vector4D aMin, Vector4D aMax) { return(new Vector4D(Op.Clamp(x, aMin.x, aMax.x), Op.Clamp(y, aMin.y, aMax.y), Op.Clamp(z, aMin.z, aMax.z), Op.Clamp(w, aMin.w, aMax.w))); }
public Vector2D Clamp(Vector2D aMin, Vector2D aMax) { return(new Vector2D(Op.Clamp(x, aMin.x, aMax.x), Op.Clamp(y, aMin.y, aMax.y))); }
public Vector3D Clamp(Vector3D aMin, Vector3D aMax) { return(new Vector3D(Op.Clamp(x, aMin.x, aMax.x), Op.Clamp(y, aMin.y, aMax.y), Op.Clamp(z, aMin.z, aMax.z))); }