glfw3example

command module
v0.0.0-...-b9c52be Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2014 License: MIT Imports: 5 Imported by: 0

README

glfw3example

A Basic Go / Golang, OpenGL GLSL 3.3, GLU, GLFW2 Modern OpenGL Triangle drawing example.

I found it kind of frustrating to get a modern Open GL setup running in Go. Getting everything right to get a OpenGL 3.3 context, shaders and drawing a triangle took a whole lot of Googling and frustration.

It was possible to find examples with "old" OpenGL (fixed function pipeline etc.) or something else problematic.

Here is pretty much the most basic example.

Enjoy! Hopefully it might help somebody save a little frustration.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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