Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void AngleAxisTest() { Quat qOurs = Quat.FromAngleAxis(34 * Mathf.Deg2Rad, new Vec(1, 2, 3).Normalize()); Quaternion qUnity = Quaternion.AngleAxis(34, new Vector3(1, 2, 3).normalized); TestUtils.AssertQuat(qOurs, qUnity.w, qUnity.x, qUnity.y, qUnity.z); }