/glfps

Primary LanguageGo

PACKAGE

import "github.com/shogg/glfps"

Simple fps overlay for opengl.

FUNCTIONS

func Draw(x, y int)

Draws the average fps (frames per second). (x, y) sets the right top corner of the drawing area. (0, 0) is left top on the screen.