convert bulk of root kiri packages to gapp.register() loading

This commit is contained in:
Stewart Allen 2022-02-20 22:47:04 -05:00
commit 57a2129dba
33 changed files with 3092 additions and 3030 deletions

View file

@ -2,9 +2,7 @@
"use strict";
(function () {
const { kiri } = self;
gapp.register("kiri.consts", [], (root, exports) => {
const COLOR = {
wireframe: 0x444444,
@ -124,7 +122,7 @@ const PMODES = {
const SEED = 'kiri-seed';
kiri.consts = {
exports({
PMODES,
COLOR,
LISTS,
@ -132,6 +130,6 @@ kiri.consts = {
VIEWS,
SEED,
beltfact: Math.cos(Math.PI / 4)
};
});
})();
});