1
0
Fork 0
fgdata/Nasal/canvas/draw.nas
2020-03-08 21:02:44 +01:00

26 lines
No EOL
556 B
Text

#
# 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;