Removing unused TransformTree definition files

This commit is contained in:
Nigel Barink 2023-05-07 20:44:42 +02:00
parent ec8045c4f4
commit d8627d0357
4 changed files with 0 additions and 67 deletions

View File

@ -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) {}
}

View File

@ -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);
};
}

View File

@ -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()
{}
}

View File

@ -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;
};
}