KDTree KR supports the same behaviour than the NRT query

nix
tremblap 3 years ago
parent 21c4311471
commit bf19c3b593

@ -48,13 +48,9 @@ FluidKDTree : FluidModelObject
this.prSendMsg(this.kNearestDistMsg(buffer,k)); this.prSendMsg(this.kNearestDistMsg(buffer,k));
} }
kr{|trig, inputBuffer,outputBuffer, numNeighbours = 1, lookupDataSet| kr{|trig, inputBuffer, outputBuffer, numNeighbours, radius, lookupDataSet|
/* this.numNeighbours_(numNeighbours);
lookupDataSet = lookupDataSet ? -1;
this.lookupDataSet_(lookupDataSet);*/
^FluidKDTreeQuery.kr(trig, ^FluidKDTreeQuery.kr(trig,
this, numNeighbours, this.radius,lookupDataSet.asUGenInput, this, numNeighbours??{this.numNeighbours}, radius??{this.radius}, lookupDataSet.asUGenInput,
inputBuffer,outputBuffer); inputBuffer,outputBuffer);
} }

Loading…
Cancel
Save