mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
beginning of object transform animation
improved exporter
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
#include "boneTest.h"
|
||||
#include "root.h"
|
||||
#include "skeleton.h"
|
||||
#include "animationController.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -14,7 +15,7 @@ namespace vb01{
|
||||
rootNode->attachChild(modelNodeParent);
|
||||
modelNodeParent->attachChild(modelNode);
|
||||
|
||||
skeleton = new Skeleton();
|
||||
skeleton = new Skeleton(new AnimationController());
|
||||
|
||||
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