Skip to content

carlmartus/lingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lingo

Build Status

Rust wrapper library for OpenGL.

Using the OpenGL API directly can be a lot of work. This library is meant to make this job easier.

Modules

  • lingo::draw::HwBuf, vertex array buffer handling.
  • lingo::draw::Matrix4x4, create projection matrices.
  • lingo::draw::Pipeline, render setup by defining a pipeline.
  • lingo::draw::Program, GLSL program abstraction.
  • lingo::draw::ProgramBuilder, makes GLSL shaders a bit easier.
  • lingo::draw::print_gl_error, OpenGL error checking.

Sample

  • Hello triangle, Hello world but for GPU.
  • Stride, multiple vertex attributes using stride.
  • 3D camera, using projections to get a 3D camera perspective.