made cube rotate

This commit is contained in:
Lauchmelder 2021-12-21 14:54:22 +01:00
parent f7941908ef
commit c6189b2dc3
3 changed files with 19 additions and 5 deletions

View file

@ -1,7 +1,7 @@
#include "Transformable.hpp"
Transformable::Transformable() :
position(0.0f), scale(1.0f), orientation(0.0, 0.0, 0.0, 0.0)
position(0.0f), scale(1.0f), orientation(0.0, 0.0, 0.0, 1.0)
{
CalculateTransformationMatrix();
}