Versions in this module Expand all Collapse all v0 v0.2.0 Aug 21, 2025 v0.0.1 Aug 21, 2025 Changes in this version + var Gravity = Vector + var TerminalGravity = Vector + func FPS(n int) float64 + type Point struct + X float64 + Y float64 + Z float64 + type Projectile struct + func NewProjectile(deltaTime float64, initialPosition Point, ...) *Projectile + func (p *Projectile) Acceleration() Vector + func (p *Projectile) Position() Point + func (p *Projectile) Update() Point + func (p *Projectile) Velocity() Vector + type Spring struct + func NewSpring(deltaTime, angularFrequency, dampingRatio float64) (s Spring) + func (s Spring) Update(pos, vel float64, equilibriumPos float64) (newPos, newVel float64) + type Vector struct + X float64 + Y float64 + Z float64