Added delta time variable to library

This commit is contained in:
2025-12-25 20:53:37 +00:00
parent 924ac26d38
commit 5326f0e2f4

View File

@@ -165,6 +165,7 @@ var $builtinmodule = function (name) {
Object.defineProperty(mod, 'T', { get: function () { return toPy(lc_instance ? lc_instance.T : (window.T || 0)); } });
Object.defineProperty(mod, 'W', { get: function () { return toPy(lc_instance ? lc_instance.W : (window.W || 0)); } });
Object.defineProperty(mod, 'H', { get: function () { return toPy(lc_instance ? lc_instance.H : (window.H || 0)); } });
Object.defineProperty(mod, 'DT', { get: function () { return toPy(lc_instance ? lc_instance.dt : (window.dt || 0)); } });
Object.defineProperty(mod, 'MX', {
get: function () {
let mx = lc_instance ? lc_instance.MX : (window.MX || -1);