1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Get rid of 'builtins' file since its useless and causes performance issues

This commit is contained in:
tobspr
2020-06-27 10:51:52 +02:00
parent 14246929b3
commit 2e266f5f21
60 changed files with 256 additions and 403 deletions

View File

@@ -105,6 +105,8 @@ module.exports = ({
passes: 2,
module: true,
pure_funcs: [
"Math.radians",
"Math.degrees",
"Math.round",
"Math.ceil",
"Math.floor",
@@ -119,21 +121,6 @@ module.exports = ({
"Math.sign",
"Math.pow",
"Math.atan2",
"Math_round",
"Math_ceil",
"Math_floor",
"Math_sqrt",
"Math_hypot",
"Math_abs",
"Math_max",
"Math_min",
"Math_sin",
"Math_cos",
"Math_tan",
"Math_sign",
"Math_pow",
"Math_atan2",
],
toplevel: true,
unsafe_math: true,