mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'debug.enable-experimental' setting & add experimental vec3, vec2 optimization
This commit is contained in:
parent
abc937769d
commit
79bb61bbbe
4 changed files with 221 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue