refactoring of TriangleMeshShape, introduced ConcaveShape, which allows for StaticPlaneShape and future landscape/heightfield shape
This commit is contained in:
@@ -59,9 +59,13 @@ public:
|
||||
}
|
||||
bool IsConcave() const
|
||||
{
|
||||
return (GetShapeType() > CONCAVE_SHAPES_START_HERE);
|
||||
return ((GetShapeType() > CONCAVE_SHAPES_START_HERE) &&
|
||||
(GetShapeType() < CONCAVE_SHAPES_END_HERE));
|
||||
}
|
||||
bool IsCompound() const
|
||||
{
|
||||
return (GetShapeType() == COMPOUND_SHAPE_PROXYTYPE);
|
||||
}
|
||||
|
||||
|
||||
virtual void setLocalScaling(const SimdVector3& scaling) =0;
|
||||
virtual const SimdVector3& getLocalScaling() const =0;
|
||||
|
||||
Reference in New Issue
Block a user