1
0
Fork 0
fgdata/Nasal/canvas/map/vor.layer

12 lines
342 B
Text
Raw Permalink Normal View History

# WARNING: *.layer files will be deprecated, see: http://wiki.flightgear.org/MapStructure
var VORLayer = {};
VORLayer.new = func(group,name, controller) {
var m=Layer.new(group, name, VORModel );
m._controller = controller;
m.setDraw (func draw_layer(layer:m, callback: draw_vor, lod:0) );
return m;
}
register_layer("vor", VORLayer);