From f8fa90f55bc354eaf5afa5fb1ecf2a8eda82c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Sat, 20 Mar 2021 10:56:08 +0800 Subject: [PATCH] \lenny/ --- bin/tools.py | 1 + tests/many_test_of_hitbox.py | 6 ++++++ 2 files changed, 7 insertions(+) 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