mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
Animation controller uses now the singleton pattern
This commit is contained in:
+1
-3
@@ -11,14 +11,12 @@ using namespace std;
|
||||
using namespace glm;
|
||||
|
||||
namespace vb01{
|
||||
Skeleton::Skeleton(AnimationController *controller, string name){
|
||||
Skeleton::Skeleton(string name){
|
||||
this->name = name;
|
||||
this->controller = controller;
|
||||
}
|
||||
|
||||
void Skeleton::update(){
|
||||
updateIk();
|
||||
controller->update();
|
||||
}
|
||||
|
||||
void Skeleton::updateIk(){
|
||||
|
||||
Reference in New Issue
Block a user