Removing unused TransformTree definition files
This commit is contained in:
parent
ec8045c4f4
commit
d8627d0357
@ -1,10 +0,0 @@
|
||||
#include <YoggieEngine.h>
|
||||
#include "Node.h"
|
||||
|
||||
namespace YoggieEngine {
|
||||
Node::Node(const std::string& name)
|
||||
: name(name), parent(nullptr), children(std::vector<Node*>()) {}
|
||||
|
||||
Group::Group(const std::string& name)
|
||||
: Node(name) {}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
#pragma once
|
||||
namespace YoggieEngine {
|
||||
class Node {
|
||||
public:
|
||||
Node(const std::string& name);
|
||||
std::string name;
|
||||
Node* parent;
|
||||
std::vector<Node*> children;
|
||||
|
||||
void addChild(Node& node);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
class Group : public Node {
|
||||
public:
|
||||
Group(const std::string& name);
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
#include <YoggieEngine.h>
|
||||
#include "SceneNodeTypes.h"
|
||||
namespace YoggieEngine {
|
||||
SceneCamera::SceneCamera()
|
||||
: Group(std::string("Camera")), camera(Camera(glm::vec3(0.0f), glm::vec3(0.0f), 0))
|
||||
{}
|
||||
|
||||
SceneObject::SceneObject(std::string name, Renderable* visual)
|
||||
: Group(name), renderable(visual)
|
||||
{}
|
||||
|
||||
SceneObject::~SceneObject()
|
||||
{}
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
#pragma once
|
||||
#include "../../Graphics/Renderable.h"
|
||||
#include "Node.h"
|
||||
|
||||
namespace YoggieEngine {
|
||||
class SceneCamera : public Group
|
||||
{
|
||||
public:
|
||||
Camera& camera;
|
||||
SceneCamera();
|
||||
};
|
||||
|
||||
|
||||
class SceneObject : public Group
|
||||
{
|
||||
public:
|
||||
SceneObject(std::string name, Renderable* visual);
|
||||
~SceneObject();
|
||||
Renderable* renderable;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user