add frame message objec wrapper / helper that looks like engine api
This commit is contained in:
parent
0f4e92f7a2
commit
5fe11ef05a
4 changed files with 118 additions and 18 deletions
4
app.js
4
app.js
|
|
@ -368,6 +368,9 @@ const script = {
|
|||
"kiri/codec",
|
||||
"kiri/engine"
|
||||
].map(p => `src/${p}.js`),
|
||||
frame : [
|
||||
"kiri/frame"
|
||||
].map(p => `src/${p}.js`),
|
||||
meta : [
|
||||
"ext/three",
|
||||
"license",
|
||||
|
|
@ -709,6 +712,7 @@ function prepareScripts() {
|
|||
code.kiri = concatCode(script.kiri);
|
||||
code.worker = concatCode(script.worker);
|
||||
code.engine = concatCode(script.engine);
|
||||
code.frame = concatCode(script.frame);
|
||||
}
|
||||
|
||||
function concatCode(array) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue