Пример #1
0
 ///<exclude/>
 public bool Equals(Quaternion other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.x.Equals(x) && other.y.Equals(y) && other.z.Equals(z) && other.w.Equals(w);
 }
Пример #2
0
 ///<exclude/>
 public void Deserialize(BinaryReader br)
 {
     translation = new Vector3(br);
     rotation = new Quaternion(br);
 }
Пример #3
0
 ///<exclude/>
 public void Deserialize(BinaryReader br)
 {
     position = new Point(br);
     orientation = new Quaternion(br);
 }
Пример #4
0
 ///<exclude/>
 public Transform()
 {
     translation = new Vector3();
     rotation = new Quaternion();
 }
Пример #5
0
 ///<exclude/>
 public Pose()
 {
     position = new Point();
     orientation = new Quaternion();
 }