From 912fea4439046e900d81e0831ac7fa8a2d9841de Mon Sep 17 00:00:00 2001 From: Marcin Klimek Date: Wed, 14 Jul 2021 19:11:49 +0200 Subject: [PATCH] [lua] bombs rotates Former-commit-id: d0a3386abcaedc99004ba7eb366dec6de63ae308 --- apps/hec/cc/bin/data/scripts/game_01-coins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hec/cc/bin/data/scripts/game_01-coins.lua b/apps/hec/cc/bin/data/scripts/game_01-coins.lua index 95f74db..ab6dc50 100644 --- a/apps/hec/cc/bin/data/scripts/game_01-coins.lua +++ b/apps/hec/cc/bin/data/scripts/game_01-coins.lua @@ -100,7 +100,7 @@ local function Ball(world, bounds) of.pushMatrix() of.translate(body.position.x, body.position.y, 0 ) - of.rotate(body.angle, 0, 0, 1) + of.rotateDeg(body.angle, 0, 0, 1) local lx = -self.r local ly = -self.r