Physics3D/Collider3D: Improve CompoundCollider3D constructor

This commit is contained in:
Jérôme Leclercq
2017-07-27 11:40:42 +02:00
parent afdc018778
commit 6047018082
2 changed files with 5 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ namespace Nz
class NAZARA_PHYSICS3D_API CompoundCollider3D : public Collider3D
{
public:
CompoundCollider3D(Collider3D** geoms, std::size_t geomCount);
CompoundCollider3D(std::vector<Collider3DRef> geoms);
const std::vector<Collider3DRef>& GetGeoms() const;
ColliderType3D GetType() const override;