Physics/Geom: CompoundGeom can now include other CompounedGeom pieces
Former-commit-id: 8e421be85985bfb86ee7f6fd24569e36afdb34b4
This commit is contained in:
@@ -118,9 +118,13 @@ class NAZARA_API NzCompoundGeom : public NzPhysGeom
|
||||
public:
|
||||
NzCompoundGeom(NzPhysWorld* physWorld, NzPhysGeom** geoms, unsigned int geomCount);
|
||||
|
||||
const std::vector<NzPhysGeomRef>& GetGeoms() const;
|
||||
nzGeomType GetType() const override;
|
||||
|
||||
template<typename... Args> static NzCompoundGeomRef New(Args&&... args);
|
||||
|
||||
private:
|
||||
std::vector<NzPhysGeomRef> m_geoms;
|
||||
};
|
||||
|
||||
class NzConeGeom;
|
||||
|
||||
Reference in New Issue
Block a user