Physics/Geom: CompoundGeom can now include other CompounedGeom pieces

Former-commit-id: 8e421be85985bfb86ee7f6fd24569e36afdb34b4
This commit is contained in:
Lynix
2015-04-19 18:11:04 +02:00
parent 1642536a0e
commit f7d6107ec7
2 changed files with 17 additions and 1 deletions

View File

@@ -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;