diff --git a/bin/tools.py b/bin/tools.py index 591d75d..2e6116e 100644 --- a/bin/tools.py +++ b/bin/tools.py @@ -56,6 +56,7 @@ def log_level(level): def C_R_P(position, degrees): # stand for calculation """ very thanks for lenny from pyglet delvoper + https://github.com/LennyPhoenix this part of code is write by him """ radians = degrees * (math.pi / 180) diff --git a/tests/many_test_of_hitbox.py b/tests/many_test_of_hitbox.py index 2a08f10..2b8690a 100644 --- a/tests/many_test_of_hitbox.py +++ b/tests/many_test_of_hitbox.py @@ -1,4 +1,10 @@ +""" +这个测试主要是为了测试关于旋转的按钮碰撞箱判定的 +感谢孙老师/ +(下周就要学一次函数了 +""" + import turtle import random