mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-27 20:09:43 +00:00
be explicit about narrowing to resolve: error: type 'btScalar *' (aka 'float *') cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
This commit is contained in:
parent
686692519c
commit
442292715e
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace
|
||||||
struct DetourNavigatorRecastMeshObjectTest : Test
|
struct DetourNavigatorRecastMeshObjectTest : Test
|
||||||
{
|
{
|
||||||
btBoxShape mBoxShape {btVector3(1, 2, 3)};
|
btBoxShape mBoxShape {btVector3(1, 2, 3)};
|
||||||
btCompoundShape mCompoundShape {btVector3(1, 2, 3)};
|
btCompoundShape mCompoundShape {static_cast<bool>(btVector3(1, 2, 3))};
|
||||||
btTransform mTransform {btQuaternion(btVector3(1, 2, 3), 1), btVector3(1, 2, 3)};
|
btTransform mTransform {btQuaternion(btVector3(1, 2, 3), 1), btVector3(1, 2, 3)};
|
||||||
|
|
||||||
DetourNavigatorRecastMeshObjectTest()
|
DetourNavigatorRecastMeshObjectTest()
|
||||||
|
|
Loading…
Reference in a new issue