Skip to content

meemknight/gl2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gl2d

A simple 2D library made with OpenGL.

Why gl2d?

Because you can just drop it into your already configured OpenGL project and you have a lightweight 2D library ready to go! It all boils down to one render rectangle function so you can even easily integrate it into your framework if needed.


Setup: just copy the header and the cpp Call gl2d::init(); Create a renderer class. Update its window size if the window size changed

Check out the wiki!


Check out other "extensions"

Or check out my 3D rendering library!


features:

  • draw rectangles
  • draw textures
  • draw lines
  • texture atlases
  • add paddings to texture atlases
  • draw text (with fonts and add shadow)
  • camera controll
  • shaders
  • frame buffers
  • particle system (with a post-process effect to make it look lo poly)
  • add cmake
  • post process effects!

About

a simple 2d library made in opengl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published