Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { IsPaused bool // The end user wall time that an animation takes to complete one cycle // measured in units of seconds. AnimationDuration float64 ValidInterval solsys.Interval T celestial.JD // Current calendar date. TA celestial.JD // Start at this calendar date. TB celestial.JD // End at this calendar date. Observe observe.Model Lookup lookup.Model Cams map[realm.Realm]world.Camera // A camera for each realm. Roots map[realm.Realm]*mechtree.Node // Root nodes for each realm. }
A Model of the solarsystem Mechane world.
func (*Model) IncrementT ¶
IncrementT by the same proportion of the calendar span that delta t is of the animation duration.
The given duration delta t is the period of time elapsed since the last loop and is measured in units of seconds.
Click to show internal directories.
Click to hide internal directories.