This commit is contained in:
2026-04-20 11:21:57 -05:00
parent ff5f262883
commit 13f84fc9bc
2 changed files with 59 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ void Rubiks::onLoad() {
void Rubiks::run() {
static float scale = 1.0f, scalePrev = 1.0f;
static float scale = 0.8f, scalePrev = 1.0f;
static glm::vec3 pos(0), rot(0);
static glm::vec3 posPrev(0), rotPrev(0);
@@ -98,6 +98,7 @@ void Rubiks::run() {
camRotPrev = camRot;
for(auto& b : rubiksCube.getBlocks()) {
b.scaleTo(scale);
window->getRenderer()->draw(
b.getMesh(),
b.getTransform(),