public static IntervalQuaternion FromDiameter(Quaternion diameter) { return(FromRadius(UtilQuaternion.Scale(diameter, 0.5f))); }
// Returns the radius of the interval. public Quaternion GetRadius() { return(UtilQuaternion.Scale(GetDiameter(), 0.5f)); }
public static IntervalQuaternion FromCenterDiameter(Quaternion center, Quaternion diameter) { return(FromCenterRadius(center, UtilQuaternion.Scale(diameter, 0.5f))); }