aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/TripletScheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/src/TripletScheduler.cpp')
-rw-r--r--NvCloth/src/TripletScheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NvCloth/src/TripletScheduler.cpp b/NvCloth/src/TripletScheduler.cpp
index 10ad430..83e055c 100644
--- a/NvCloth/src/TripletScheduler.cpp
+++ b/NvCloth/src/TripletScheduler.cpp
@@ -250,7 +250,7 @@ public:
}
//adjacentcyCount[i] now holds the number of triplets referring to particle i
- mMaxAdjacentCount = *physx::shdfnd::maxElement(adjacencyCount.begin(), adjacencyCount.end());
+ mMaxAdjacentCount = *nv::cloth::ps::maxElement(adjacencyCount.begin(), adjacencyCount.end());
// compute in place prefix sum (inclusive)
prefixSum(adjacencyCount.begin(), adjacencyCount.end(), mAdjacencyIndecies.begin());