Fix pi optims - local

This commit is contained in:
ZXMushroom63 2024-09-29 18:18:26 +08:00
parent 15d5ac69da
commit a0b49275b6

View File

@ -139,7 +139,7 @@ var main;(function(){`
if(globalThis.optimizePi){
patchedFile = patchedFile.replaceAll(
"3.1415927410125732 / 180",
"3.1415927410125732 / 180.0",
"0.01745"
);
@ -147,6 +147,11 @@ var main;(function(){`
"3.1415927410125732",
"3.14159"
);
patchedFile = patchedFile.replaceAll(
"0.01745329238474369",
"0.01745"
);
}
const extractInstanceMethodRegex =