16 lines
301 B
Text
16 lines
301 B
Text
|
var VORModel = {};
|
||
|
VORModel.new = func make( LayerModel, VORModel );
|
||
|
|
||
|
VORModel.init = func {
|
||
|
#debug.dump( me._controller );
|
||
|
me._view.reset();
|
||
|
|
||
|
var results = positioned.findWithinRange( me._controller.query_range()*2 ,"vor");
|
||
|
foreach(result; results) {
|
||
|
me.push(result);
|
||
|
}
|
||
|
|
||
|
me.notifyView();
|
||
|
}
|
||
|
|