1
0
Fork 0
fgdata/Nasal/canvas/draw.nas

26 lines
556 B
Text
Raw Normal View History

2020-03-08 20:02:44 +00:00
#
# canvas_draw loader
# 03/2020 by jsb
# if you add files to the draw subdirectory, add corresponding lines below in
# the main() function
#
var _canvas_draw_load = {
namespace: "canvas",
path: getprop("/sim/fg-root")~"/Nasal/canvas/draw/",
load: func(filename) {
io.load_nasal(me.path~filename, me.namespace);
},
main: func {
me.load("draw.nas");
me.load("transform.nas");
me.load("scales.nas");
me.load("compass.nas");
},
};
_canvas_draw_load.main();
_canvas_draw_load = nil;