public void RunBeforeEveryTest() { _solver = new CCDSolver(); _rootNode = Substitute.For <IIKNode>(); _ikTarget = Substitute.For <IIKNode>(); var chainNode1 = Substitute.For <IIKNode>(); var chainNode2 = Substitute.For <IIKNode>(); _chainObjects = new List <IIKNode>() { chainNode1, chainNode2 }; }
public void InsertChainObject(int chainIndex, IIKNode chainObject) { ChainNodes.Insert(chainIndex, chainObject); }
public void AddRootNode(IIKNode rootNode) { RootNode = rootNode; }
public void AddIKTarget(IIKNode ikTarget) { IKTarget = ikTarget; }
public void RunBeforeEveryTest() { _testNode = new IKNode(Vector3.zero, Quaternion.identity); }