mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
Animation controller uses now the singleton pattern
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ namespace vb01{
|
||||
rootNode->attachChild(modelNodeParent);
|
||||
modelNodeParent->attachChild(modelNode);
|
||||
|
||||
skeleton = new Skeleton(new AnimationController());
|
||||
skeleton = new Skeleton();
|
||||
|
||||
Bone *rootBone = new Bone("rootBone", 1, Vector3::VEC_ZERO, Quaternion::QUAT_W, Vector3::VEC_IJK);
|
||||
Bone *pelvis = new Bone("pelvis", 1, Vector3(0, 2, 0), Quaternion::QUAT_W, Vector3::VEC_IJK);
|
||||
|
||||
Reference in New Issue
Block a user