mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-19 15:09:43 +00:00
Fix btAABB initialization
This commit is contained in:
parent
8a0fb4d633
commit
2e38f0b641
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ namespace NavMeshTool
|
|||
static_cast<btScalar>(cellPosition.y() * ESM::Land::REAL_SIZE),
|
||||
minHeight
|
||||
);
|
||||
aabb.m_min = btVector3(
|
||||
aabb.m_max = btVector3(
|
||||
static_cast<btScalar>((cellPosition.x() + 1) * ESM::Land::REAL_SIZE),
|
||||
static_cast<btScalar>((cellPosition.y() + 1) * ESM::Land::REAL_SIZE),
|
||||
maxHeight
|
||||
|
|
Loading…
Reference in a new issue