64-bit hashes (#126)

- ContactEvent sample
- Improved shadows
- #120 
- Triangle collision fixes
This commit is contained in:
Erin Catto 2026-08-11 18:08:34 -07:00 • committed by GitHub
commit f42be210a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 19835 additions and 17544 deletions

View file

@ -226,6 +226,18 @@ public:
int m_profileReadIndex;
int m_profileWriteIndex;
// View-space distance range the shadow cascades split over, set during
// construction. Left at zero the range is guessed from the world bounds,
// which only works when the camera sits close to the content. A scene
// viewed from far off wants an explicit range: the guess spends every
// cascade on the empty space in front of the camera and the shadows stop
// partway into the scene.
//
// Authored against the sample's opening camera, so flying well away from
// it can still outrun the far end.
float m_shadowSplitNear;
float m_shadowSplitFar;
b3Vec2 m_mouseLast;
b3Vec2 m_mouseDelta;
bool m_didStep;