public static Frame3f Rotate(Frame3f f, Vector3d origin, Quaternionf rotation) { f.Origin -= (Vector3f)origin; f.Rotate(rotation); f.Origin += (Vector3f)origin; return(f); }
public static Frame3f Rotate(Frame3f f, Vector3d origin, Quaternionf rotation) { f.Rotate(rotation); f.Origin = (Vector3f)Rotate(f.Origin, origin, rotation); return(f); }