animatable types

This commit is contained in:
devZoGok
2022-03-26 15:46:29 +02:00
parent ab9bb1f0e3
commit 910833cc4d
14 changed files with 47 additions and 17 deletions
+2 -1
View File
@@ -4,9 +4,10 @@
using namespace std;
namespace vb01{
Bone::Bone(string name, float length, Vector3 pos, Quaternion rot, Vector3 scale) : Node(pos, rot, scale, name){
Bone::Bone(string name, float length, Vector3 pos, Quaternion rot, Vector3 scale) : Node(pos, rot, scale, name, Animatable::BONE){
this->name = name;
this->length = length;
this->type = Animatable::BONE;
}
void Bone::lookAt(Vector3 newDir, Vector3 newUp){