예제 #1
0
파일: QuatT.cs 프로젝트: rookboom/CryMono
        public void SetRotationXYZ(Vec3 rad, Vec3? trans = null)
        {
            Q.SetRotationXYZ(rad);

            T = trans.GetValueOrDefault();
        }
예제 #2
0
파일: QuatT.cs 프로젝트: rookboom/CryMono
 public void SetRotationAA(float cosha, float sinha, Vec3 axis, Vec3? trans = null)
 {
     Q.SetRotationAA(cosha, sinha, axis);
     T = trans.GetValueOrDefault();
 }