Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Init should be called near the start of the main method. It sets up the glfw window, shaders, input, and basic meshes among other things. It returns a function which should be deferred, to cleanly close everything at the end.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package asset provides tools to manage loading, use, and unloading of assets, such as images and audio.
|
Package asset provides tools to manage loading, use, and unloading of assets, such as images and audio. |
zoom
zoom is a handler for dealing with zoom.
|
zoom is a handler for dealing with zoom. |
core
|
|
entity
Package entity contains the Entity struct, which is the most basic physical world information attached to an object.
|
Package entity contains the Entity struct, which is the most basic physical world information attached to an object. |
demos
|
|
mandelbrot
demo showing use of gome to set up a window, but to draw in it with completely custom shaders.
|
demo showing use of gome to set up a window, but to draw in it with completely custom shaders. |
meshes
Demo of loading and displaying various meshes.
|
Demo of loading and displaying various meshes. |
simple_text
Basic text rendering demo, based closely on https://github.com/golang/freetype/tree/master/example/freetype
|
Basic text rendering demo, based closely on https://github.com/golang/freetype/tree/master/example/freetype |
input
|
|
keyboard
keyboard handles keyboard interaction with a glfw window.
|
keyboard handles keyboard interaction with a glfw window. |
mouse
mouse handles mouse interaction with a glfw window.
|
mouse handles mouse interaction with a glfw window. |
fps
Package fps can be used to keep track of framerate and delta time.
|
Package fps can be used to keep track of framerate and delta time. |
glutil
glutil contains common functions to deal with OpenGl and WebGL, such as loading data into Buffers and Textures.
|
glutil contains common functions to deal with OpenGl and WebGL, such as loading data into Buffers and Textures. |
view sets up and handles a glfw window.
|
view sets up and handles a glfw window. |
Click to show internal directories.
Click to hide internal directories.