Documentation ¶
Index ¶
Constants ¶
View Source
const ( WindowTitle = "go-gravity" WindowWidth = 800 WindowHeight = 700 FrameRate = 60 )
Main window variables
Variables ¶
This section is empty.
Functions ¶
func CreateSdlRenderer ¶
CreateSdlRenderer creates SDL2 renderer
func CreateSdlWindow ¶
CreateSdlWindow creates SDL2 window
func RenderParticle ¶
func RenderParticle() int
RenderParticle used for rendering a single particle in SDL2
func RenderParticleSystem ¶
func RenderParticleSystem() int
RenderParticleSystem used for rendering a particle system in SDL2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.