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
+4 -1
View File
@@ -16,10 +16,13 @@ using namespace std;
using namespace glm;
namespace vb01{
Node::Node(Vector3 pos, Quaternion orientation, Vector3 scale, string name) : Animatable(name){
Node::Node(Vector3 pos, Quaternion orientation, Vector3 scale, string name, Animatable::Type type) : Animatable(type, name){
this->pos = pos;
this->scale = scale;
this->orientation = orientation;
if(type == Animatable::NONE)
type = Animatable::NODE;
}
Node::~Node(){