コード例 #1
0
 public MuscleHandle(HumanPartDoF partDoF, BodyDoF bodyDoF)
 {
     if (partDoF != HumanPartDoF.Body)
     {
         throw new InvalidOperationException("Invalid HumanPartDoF for body, please use HumanPartDoF.Body");
     }
     humanPartDoF = HumanPartDoF.Body;
     dof          = (int)bodyDoF;
 }
コード例 #2
0
 public MuscleHandle(BodyDoF bodyDoF)
 {
     humanPartDoF = HumanPartDoF.Body;
     dof          = (int)bodyDoF;
 }