From 5766a18fd424d365fa046aa09ec29652e31432f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Mon, 21 Dec 2020 21:48:52 +0800 Subject: [PATCH] =?UTF-8?q?Physics=20Calculation=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Game_threads/calculations.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/libs/Game_threads/calculations.py b/libs/Game_threads/calculations.py index b4efa3d..329cffc 100644 --- a/libs/Game_threads/calculations.py +++ b/libs/Game_threads/calculations.py @@ -7,11 +7,19 @@ import libs import math -def P_C(A, type, B): +def P_C_M(A, B): # stand for Physics Calculation multiple """ formats: - type : "*" or "//"(or "/" "\" "\\") A & B list format:docs.basic_config.json:basic_number """ C = [0.0, 1, [], []] - return C \ No newline at end of file + return C + + +def P_C_D(A, B): # stand for Physics Calculation divide + """ + formats: + A & B list format:docs.basic_config.json:basic_number + """ + C = [0.0, 1, [], []] + return C