Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FullScreen bool WindowWidth int32 WindowHeight int32 SidebarWidth int32 ViewportX int32 ViewportY int32 GameX int32 GameY int32 GameZ int32 TargetFPS int32 IsResizable bool ParticleNumber int32 ParticleRadius float32 ParticleMass float32 ParticleInitialSpacing float32 ShowVectors bool ScaleFactor float32 ParticleElasticity float32 WallElasticity float32 ApplyGravity bool Gravity float32 ShowQuadtree bool ShowTrail bool ShouldBeProfiled bool UseExperimentalQuadtree bool SetRandomRadius bool RadiusMin float32 RadiusMax float32 SetRandomMass bool MassMin float32 MassMax float32 SetRandomElasticity bool ElasticityMin float32 ElasticityMax float32 ShowOverlay bool SetRandomColor bool ShowSpeedColor bool }
func ReadConfig ¶
func (*Config) UpdateWindowSettings ¶
func (c *Config) UpdateWindowSettings()
Click to show internal directories.
Click to hide internal directories.