Documentation ¶
Index ¶
- Constants
- type Object
- func (o *Object) ApplyGravity(objects []*Object)
- func (o Object) DrawAcceleration(imd *imdraw.IMDraw)
- func (o Object) DrawObject(imd *imdraw.IMDraw)
- func (o Object) DrawTrails(imd *imdraw.IMDraw)
- func (o Object) DrawVelocity(imd *imdraw.IMDraw)
- func (o *Object) RecordTrails()
- func (o Object) Stats() (position, velocity, acceleration vect.Vect)
Constants ¶
View Source
const G = 1
const G = 6.67408e-11
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
func (*Object) ApplyGravity ¶
func (Object) DrawAcceleration ¶
func (Object) DrawObject ¶
func (Object) DrawTrails ¶
func (Object) DrawVelocity ¶
func (*Object) RecordTrails ¶
func (o *Object) RecordTrails()
Click to show internal directories.
Click to hide internal directories.