/examples

Example programs for the various go-gl packages.

Primary LanguageGo

go-gl Examples Build Status GoDoc

Basic Usage

These examples demonstrate initialization and basic usage. They have the bare minimum code needed.

  • glfw31-gl41core-cube - Renders a textured spinning cube using GLFW 3.1 and OpenGL 4.1 core forward-compatible profile.
  • glfw31-gl21-cube - Renders a textured spinning cube using GLFW 3.1 and OpenGL 2.1.