made cube rotate
This commit is contained in:
parent
f7941908ef
commit
c6189b2dc3
3 changed files with 19 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue