feat: assignment 2

This commit is contained in:
2025-10-13 15:04:53 +02:00
parent 986e31dbef
commit f981cee4e0
17 changed files with 649 additions and 56 deletions

13
src/entity.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "entity.h"
Entity::Entity()
: position_(0.0f, 0.0f, 0.0f)
, rotation_(0.0f, 0.0f, 0.0f)
, scale_(1.0f, 1.0f, 1.0f)
{
}
void Entity::move(const glm::vec3& vec)
{
position_ += vec;
}