Add light array to mscript output
This commit is contained in:
parent
1a47bf6387
commit
95b3ec1874
|
@ -71,6 +71,7 @@ mscript.interpret = function interpret (text, callback) {
|
||||||
var lines = text.split('\n'),
|
var lines = text.split('\n'),
|
||||||
two = '',
|
two = '',
|
||||||
arr = [],
|
arr = [],
|
||||||
|
light = [],
|
||||||
target = 0,
|
target = 0,
|
||||||
dist = 0, //?
|
dist = 0, //?
|
||||||
output = {};
|
output = {};
|
||||||
|
@ -158,6 +159,7 @@ mscript.interpret = function interpret (text, callback) {
|
||||||
}
|
}
|
||||||
output.success = true;
|
output.success = true;
|
||||||
output.arr = arr;
|
output.arr = arr;
|
||||||
|
output.light = light;
|
||||||
output.cam = mscript.state.cam;
|
output.cam = mscript.state.cam;
|
||||||
output.proj = mscript.state.proj;
|
output.proj = mscript.state.proj;
|
||||||
if (typeof callback !== 'undefined') {
|
if (typeof callback !== 'undefined') {
|
||||||
|
|
Loading…
Reference in New Issue