Example #1
0
        public IConstraintsImpl <IDistanceConstraintsBatchImpl> CreateDistanceConstraints()
        {
            IConstraintsImpl <IDistanceConstraintsBatchImpl> group = new BurstDistanceConstraints(this);

            constraints[(int)Oni.ConstraintType.Distance].Add((IBurstConstraintsImpl)group);
            return(group);
        }
 public BurstDistanceConstraintsBatch(BurstDistanceConstraints constraints)
 {
     m_Constraints    = constraints;
     m_ConstraintType = Oni.ConstraintType.Distance;
 }