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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址