Documentation ¶
Index ¶
Constants ¶
View Source
const ( G = -9.8 COLLISION_COEFFICIENT = 0.7 KINETIC_FRICTION = 0.001 MIN_Y_VELOCITY = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeltaFunction ¶
func DistanceFunction ¶
func DistanceFunction(v0 float64, accel float64) DeltaFunction
func VelocityFunction ¶
func VelocityFunction(accel float64) DeltaFunction
type DeltaFunctions ¶
type DeltaFunctions struct { DX DeltaFunction DY DeltaFunction DVx DeltaFunction DVy DeltaFunction DTdx DoubleDeltaFunction DTdy DoubleDeltaFunction }
type DoubleDeltaFunction ¶
func TimeFunction ¶
func TimeFunction(v0 float64, accel float64) DoubleDeltaFunction
Click to show internal directories.
Click to hide internal directories.