convert bulk of root kiri packages to gapp.register() loading
This commit is contained in:
parent
64d825b48c
commit
57a2129dba
33 changed files with 3092 additions and 3030 deletions
|
|
@ -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)
|
||||
};
|
||||
});
|
||||
|
||||
})();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue