示例#1
0
 public void Set(AxisConstraint yaw, AxisConstraint pitch, AxisConstraint roll)
 {
     m_yaw   = yaw;
     m_pitch = pitch;
     m_roll  = roll;
 }
示例#2
0
 public OrbitConstraint(AxisConstraint yaw, AxisConstraint pitch)
 {
     m_yaw   = yaw;
     m_pitch = pitch;
     m_roll  = new AxisConstraint();
 }
示例#3
0
 public OrbitConstraint(AxisConstraint yaw, AxisConstraint pitch, AxisConstraint roll)
 {
     m_yaw   = yaw;
     m_pitch = pitch;
     m_roll  = roll;
 }
示例#4
0
        public void Constrain(AxisConstraint yaw, AxisConstraint pitch, AxisConstraint roll)
        {
            OrbitConstraint constraint = new OrbitConstraint(yaw, pitch, roll);

            Constrain(constraint);
        }