window

package
v0.0.0-...-ba5fac2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mousepointer

type Mousepointer struct {
	// contains filtered or unexported fields
}

Stores the current mouse pointer position.

type Window

type Window struct {
	// contains filtered or unexported fields
}

TODO: when this gets big, it might want to be a package.

func NewWindow

func NewWindow(width int, height int) *Window

func (*Window) Open

func (window *Window) Open()

Based on https://raw.github.com/go-gl/examples/master/glfw/simplewindow

func (*Window) RunMessageLoop

func (window *Window) RunMessageLoop(w *glfw.Window, program *gl.Program)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL