Documentation
¶
Index ¶
Constants ¶
View Source
const ( // A sphere of radius ~= 2 AU would suffice to enclose the inner planets. Inner = Scale(iota) // A sphere of radius ~= 50 AU would suffice to enclose the outer planets. Outer )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Camera world.Camera Root *mechtree.Node Inbuilt SolarSystemModel // An inbuilt model that works without the internet. Scale }
Model of the Solar System.
type Scale ¶
type Scale uint
The Scale may change to that which is better for showing either the inner or outer planets.
type SolarSystemModel ¶
type SolarSystemModel struct { PlanetOrbits []mech.Depictioner PlanetOutlines []mech.Depictioner SunOutline mech.Depictioner }
SolarSystemModel is a model of the Solar System including the orbits and outlines of the nine planets.
func NewSolarSystemModel ¶
func NewSolarSystemModel(t celestial.JD, in solsys.Interval) *SolarSystemModel
NewSolarSystemModel constructs a new SolarSystemModel.
Click to show internal directories.
Click to hide internal directories.