From 240d6ea21155f2044d3b728a210811821540013a Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sat, 17 Apr 2021 12:37:04 -0400 Subject: [PATCH] Add note about quick_rotate_45 actually rotating 11.25 degrees --- mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua index 9550fcac7..daf163174 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua @@ -14,6 +14,7 @@ local THIRTY_SECONDTH_PI = DOUBLE_PI * 0.03125 --a simple helper function which is too small to move into movement.lua +--this rotates 11.25 degrees, probably should rename it eventually local quick_rotate_45 = function(self,dtime) self.yaw = self.yaw + THIRTY_SECONDTH_PI if self.yaw > DOUBLE_PI then