1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00
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
..
2020-12-15 13:51:49 +02:00
2010-08-07 20:25:17 +02:00
2020-06-07 15:51:03 +04:00
2020-06-07 15:51:03 +04:00
2019-10-18 13:37:00 +00:00
2020-12-28 21:11:58 +04:00
2020-12-28 21:11:58 +04:00
2019-02-23 08:02:12 +04:00
2019-02-23 08:02:12 +04:00
2020-03-14 09:38:24 +01:00
2015-04-21 23:40:10 +02:00
2020-03-14 09:38:24 +01:00
2020-10-26 22:16:31 +01:00
2020-04-23 08:53:21 +02:00