public void MakeRotate(double angle, double x, double y, double z) { MakeIdentity(); VdsQuat quat = new VdsQuat(); quat.MakeRotate(angle, x, y, z); MakeRotate(quat); }
public void MakeRotate(VdsVec3d from, VdsVec3d to) { MakeIdentity(); VdsQuat quat = new VdsQuat(); quat.MakeRotate(from, to); MakeRotate(quat); }
public void MakeRotate(double angle, VdsVec3d axis) { MakeIdentity(); VdsQuat quat = new VdsQuat(); quat.MakeRotate(angle, axis); MakeRotate(quat); }
public void MakeRotate(double angle1, VdsVec3d axis1, double angle2, VdsVec3d axis2, double angle3, VdsVec3d axis3) { MakeIdentity(); VdsQuat quat = new VdsQuat(); quat.MakeRotate(angle1, axis1, angle2, axis2, angle3, axis3); MakeRotate(quat); }
public void MakeRotate(double angle1, VdsVec3d axis1, double angle2, VdsVec3d axis2, double angle3, VdsVec3d axis3) { VdsQuat q1 = new VdsQuat(); q1.MakeRotate(angle1, axis1); VdsQuat q2 = new VdsQuat(); q2.MakeRotate(angle2, axis2); VdsQuat q3 = new VdsQuat(); q3.MakeRotate(angle3, axis3); VdsQuat q = q1 * q2 * q3; SetQuat(q); }