mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 09:39:56 +00:00
Merge branch 'fix_aabb' into 'master'
Fix btAABB initialization (#6489) Closes #6489 See merge request OpenMW/openmw!1664
This commit is contained in:
commit
d680870e8f
@ -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…
x
Reference in New Issue
Block a user