Versions in this module Expand all Collapse all v0 v0.2.0 Apr 15, 2022 Changes in this version + var Gravity = Vector + var TerminalGravity = Vector + 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 Vector struct + X float64 + Y float64 + Z float64 v0.1.0 Jul 23, 2021 Changes in this version + func FPS(n int) float64 + type Spring struct + func NewSpring(deltaTime, angularFrequency, dampingRatio float64) (s Spring) + func (s Spring) Update(pos, vel float64, equilibriumPos float64) (newPos, newVel float64)