diff options
Diffstat (limited to 'NvCloth/src/SwSelfCollision.cpp')
| -rw-r--r-- | NvCloth/src/SwSelfCollision.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/NvCloth/src/SwSelfCollision.cpp b/NvCloth/src/SwSelfCollision.cpp index ec5a166..f39217b 100644 --- a/NvCloth/src/SwSelfCollision.cpp +++ b/NvCloth/src/SwSelfCollision.cpp @@ -45,6 +45,7 @@ namespace // returns sorted indices, output needs to be at least 2*(last - first) + 1024 void radixSort(const uint32_t* first, const uint32_t* last, uint16_t* out) { + // Note: This function is almost exactly duplicated in SwInterCollision.cpp // this sort uses a radix (bin) size of 256, requiring 4 bins to sort the 32 bit keys uint16_t n = uint16_t(last - first); |