Skip to content

v1.5.0

Choose a tag to compare

@setanarut setanarut released this 20 Dec 05:53
· 4 commits to main since this release
88969d8

Change Log

Optimization and improvements

  1. HitInfo{} has been renamed to Hit{} and its fields have been reduced. Hit.Delta and Hit.Pos are no longer available; only Hit.Normal and Hit.Data remain.
// Hit holds the information about a collision or contact event.
type Hit struct {
	// The normal vector of the hit.
	Normal v.Vec
	// 1. The time (0.0 to 1.0) along the movement path for moving objects.
	//
	// 2. Penetration depth for overlap tests
	Data float64
}

Full Changelog: v1.4.76...v1.5.0