Example #1
0
        public IConstraintsImpl <IBendConstraintsBatchImpl> CreateBendConstraints()
        {
            IConstraintsImpl <IBendConstraintsBatchImpl> group = new BurstBendConstraints(this);

            constraints[(int)Oni.ConstraintType.Bending].Add((IBurstConstraintsImpl)group);
            return(group);
        }
Example #2
0
 public BurstBendConstraintsBatch(BurstBendConstraints constraints)
 {
     m_Constraints    = constraints;
     m_ConstraintType = Oni.ConstraintType.Bending;
 }