Fix merge fail
This commit is contained in:
parent
1fdda6b07c
commit
634b67be56
|
|
@ -33,7 +33,7 @@ namespace Ndk
|
||||||
|
|
||||||
EntityList m_dynamicObjects;
|
EntityList m_dynamicObjects;
|
||||||
EntityList m_staticObjects;
|
EntityList m_staticObjects;
|
||||||
std::unique_ptr<Nz::PhysWorld3D> m_world; ///TODO: std::optional (Should I make a Nz::Optional class?)
|
mutable std::unique_ptr<Nz::PhysWorld3D> m_world; ///TODO: std::optional (Should I make a Nz::Optional class?)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,11 +41,11 @@ namespace Ndk
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhysicsSystem::CreatePhysWorld() const
|
void PhysicsSystem3D::CreatePhysWorld() const
|
||||||
{
|
{
|
||||||
NazaraAssert(!m_world, "Physics world should not be created twice");
|
NazaraAssert(!m_world, "Physics world should not be created twice");
|
||||||
|
|
||||||
m_world = std::make_unique<Nz::PhysWorld>();
|
m_world = std::make_unique<Nz::PhysWorld3D>();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue