Merge pull request #156 from tremblap/fix/supporing-kdtree-radius-in-rt-queries

KDTree KR supports the same behaviour than the NRT query
nix
Owen Green 3 years ago committed by GitHub
commit 9e69da66f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save