Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2023 Changes in this version + type GaussSeidel struct + func NewGaussSeidel() *GaussSeidel + func (gs *GaussSeidel) Reset(numBodies int) + func (gs *GaussSeidel) Solve(dt float32, nBodies int) *Solution + type ISolver interface + AddEquation func(eq equation.IEquation) + ClearEquations func() + RemoveEquation func(eq equation.IEquation) bool + Solve func(dt float32, nBodies int) *Solution + type Solution struct + AngularVelocityDeltas []math32.Vector3 + Iterations int + VelocityDeltas []math32.Vector3 + type Solver struct + func (s *Solver) AddEquation(eq equation.IEquation) + func (s *Solver) ClearEquations() + func (s *Solver) RemoveEquation(eq equation.IEquation) bool