21void btConvexPointCloudShape::setLocalScaling(
const btVector3& scaling)
28btVector3 btConvexPointCloudShape::localGetSupportingVertexWithoutMargin(
const btVector3& vec0)
const
37 vec.setValue(1, 0, 0);
56void btConvexPointCloudShape::batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors, btVector3* supportVerticesOut,
int numVectors)
const
58 for (
int j = 0; j < numVectors; j++)
68 supportVerticesOut[j][3] =
maxDot;
73btVector3 btConvexPointCloudShape::localGetSupportingVertex(
const btVector3& vec)
const
79 btVector3 vecnorm = vec;
94int btConvexPointCloudShape::getNumVertices()
const
99int btConvexPointCloudShape::getNumEdges()
const
104void btConvexPointCloudShape::getEdge(
int i, btVector3& pa, btVector3& pb)
const
109void btConvexPointCloudShape::getVertex(
int i, btVector3& vtx)
const
114int btConvexPointCloudShape::getNumPlanes()
const
119void btConvexPointCloudShape::getPlane(btVector3&, btVector3&,
int)
const
125bool btConvexPointCloudShape::isInside(
const btVector3&,
btScalar)
const
SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual btScalar getMargin() const =0
SIMD_FORCE_INLINE btVector3 getScaledPoint(int i) const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
SIMD_FORCE_INLINE btScalar btSqrt(btScalar y)
SIMD_FORCE_INLINE long maxDot(const btVector3 *array, long array_count, btScalar &dotOut) const
returns index of maximum dot product between this and vectors in array[]
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int