1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-01 08:04:31 +00:00
openmw/apps
fredzio 5215ffd964 The debug drawer rely on Bullet to determines the vertices of collision
shapes. It doesn't work in the case of spheres (used by projectiles):
resulting shape is malformed. It can also leads to this error which
makes the debug drawer non-working till game restart:
CullVisitor::apply(Geode&) detected NaN,
    depth=nan, center=(nan nan nan),
    matrix={
       -0.265814 -0.0639702 0.9619 0
       0.964024 -0.0176387 0.265228 0
       -4.29769e-09 0.997796 0.0663574 0
       18178.6 -3550.91 42154.4 1
}

Avoid this issue by using osg::Sphere

While here, remove an unused function. We don't use Bullet's solver so
we never have any contact points (in Bullet parlance).
2021-01-01 17:47:12 +01:00
..
bsatool
esmtool
essimporter
launcher
mwiniimporter
niftest
opencs
openmw The debug drawer rely on Bullet to determines the vertices of collision 2021-01-01 17:47:12 +01:00
openmw_test_suite Merge pull request #3032 from akortunov/gtest 2020-12-18 01:46:42 +03:00
wizard
doc.hpp