29#ifndef GU_CONVEX_SUPPORT_TABLE_H
30#define GU_CONVEX_SUPPORT_TABLE_H
32#include "common/PxPhysXCommonConfig.h"
33#include "GuVecConvex.h"
34#include "foundation/PxVecTransform.h"
45 class ConvexHullNoScaleV;
49 #pragma warning( disable : 4324 )
58 const bool isIdentityScale;
61 vertex2Shape(_vertex2Shape), shape2Vertex(_shape2Vertex), isIdentityScale(_isIdentityScale)
65 PX_FORCE_INLINE void setShapeSpaceCenterofMass(
const aos::Vec3VArg _shapeSpaceCenterOfMass)
67 shapeSpaceCenterOfMass = _shapeSpaceCenterOfMass;
70 virtual aos::Vec3V doSupport(
const aos::Vec3VArg dir)
const = 0;
72 virtual void populateVerts(
const PxU8* inds, PxU32 numInds,
const PxVec3* originalVerts,
aos::Vec3V* verts)
const = 0;
81 template <
typename Convex>
88 SupportLocal(_transform, _vertex2Shape, _shape2Vertex, _isIdentityScale), conv(_conv)
92 aos::Vec3V doSupport(
const aos::Vec3VArg dir)
const
95 return conv.supportLocal(dir);
100 return conv.supportLocal(dir, min, max);
103 void populateVerts(
const PxU8* inds, PxU32 numInds,
const PxVec3* originalVerts,
aos::Vec3V* verts)
const
105 conv.populateVerts(inds, numInds, originalVerts, verts);
Definition GuConvexSupportTable.h:83
Definition GuConvexSupportTable.h:52
3 Element vector class.
Definition PxVec3.h:50
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition PxVecMathAoSScalar.h:52
Definition PxVecMathAoSScalar.h:101
Definition PxVecMathAoSScalar.h:77