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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user