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; }
public MuscleHandle(BodyDoF bodyDoF) { humanPartDoF = HumanPartDoF.Body; dof = (int)bodyDoF; }