first commit of some basics

This commit is contained in:
2026-01-17 09:13:59 +01:00
parent f9bc556ad9
commit c770c62400
41 changed files with 13610 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include <vector>
#include "Matrix4x4.hpp"
namespace TSE
{
class TransformationStack
{
private:
std::vector<Matrix4x4> stack;
public:
/// @brief generates an empty transformation stack, based on an identity matrix
TransformationStack();
/// @brief gets the current value of the stack
/// @return the current value
const Matrix4x4& Top() const;
/// @brief pusches a new value on to the stack
/// @param matrix the value to be pusched
void Push(const Matrix4x4& matrix);
/// @brief pops the last value off the stack
void Pop();
};
} // namespace TSE