add 'debug.enable-experimental' setting & add experimental vec3, vec2 optimization

This commit is contained in:
MihailRis
2025-08-19 01:33:20 +03:00
parent abc937769d
commit 79bb61bbbe
4 changed files with 221 additions and 0 deletions
+6
View File
@@ -1,3 +1,5 @@
local enable_experimental = core.get_setting("debug.enable-experimental")
------------------------------------------------
------ Extended kit of standard functions ------
------------------------------------------------
@@ -169,6 +171,10 @@ function inventory.set_description(invid, slot, description)
inventory.set_data(invid, slot, "description", description)
end
if enable_experimental then
require "core:internal/maths_inline"
end
events = require "core:internal/events"
function pack.unload(prefix)