visualgo

package
v0.0.0-...-4d0bc56 Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapX

func MapX(coord int, upper int) float32

Utilities

func MapY

func MapY(coord int, upper int) float32

Types

type WindowConfig

type WindowConfig struct {
	Width  int
	Height int
	Title  string
}

Exported Types

func (*WindowConfig) Init

func (w *WindowConfig) Init(setup func(), loop func())

func (*WindowConfig) Rect

func (conf *WindowConfig) Rect(x int, y int, width int, height int)

func (*WindowConfig) Triangle

func (conf *WindowConfig) Triangle(x0 int, y0 int, x1 int, y1 int, x2 int, y2 int)

Jump to

Keyboard shortcuts

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