/example

Example programs for the various go-gl packages.

Primary LanguageGoMIT LicenseMIT

go-gl Examples Build Status

Basic Usage

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

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