diff options
Diffstat (limited to 'extern/bullet/Bullet/CollisionShapes/ConeShape.cpp')
-rw-r--r-- | extern/bullet/Bullet/CollisionShapes/ConeShape.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp b/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp index baf94d16b70..9543aa48139 100644 --- a/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp +++ b/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp @@ -71,6 +71,16 @@ SimdVector3 ConeShape::LocalGetSupportingVertexWithoutMargin(const SimdVector3& return ConeLocalSupport(vec); } +void ConeShape::BatchedUnitVectorGetSupportingVertexWithoutMargin(const SimdVector3* vectors,SimdVector3* supportVerticesOut,int numVectors) const +{ + for (int i=0;i<numVectors;i++) + { + const SimdVector3& vec = vectors[i]; + supportVerticesOut[i] = ConeLocalSupport(vec); + } +} + + SimdVector3 ConeShape::LocalGetSupportingVertex(const SimdVector3& vec) const { SimdVector3 supVertex = ConeLocalSupport(vec); |