|
|
@@ -104,12 +104,12 @@ void CreateScene()
|
|
|
solver_.algorithm = IKAlgorithm::TWO_BONE;
|
|
|
|
|
|
// Disable auto-solving, which means we can call Solve() manually.
|
|
|
- solver_.SetFeature(IKFeature::AUTO_SOLVE, false);
|
|
|
+ solver_.AUTO_SOLVE = false;
|
|
|
|
|
|
// Only enable this so the debug draw shows us the pose before solving.
|
|
|
// This should NOT be enabled for any other reason (it does nothing and is
|
|
|
// a waste of performance).
|
|
|
- solver_.SetFeature(IKFeature::UPDATE_ORIGINAL_POSE, true);
|
|
|
+ solver_.UPDATE_ORIGINAL_POSE = true;
|
|
|
|
|
|
// Create the camera.
|
|
|
cameraRotateNode_ = scene_.CreateChild("CameraRotate");
|