Add light array to mscript output

This commit is contained in:
Matt 2016-04-18 00:22:16 -04:00
parent 1a47bf6387
commit 95b3ec1874
1 changed files with 2 additions and 0 deletions

View File

@ -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') {