Skip to content

hrittich/gl-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template: Rust + OpenGL + SDL2

This template should get you started using OpenGL in Rust quickly. It is a minimal template, which just depends on sdl2 for window management and initialization and on gl_generator for providing bindings to the OpenGL API.

To use the template it is recommended to use cargo-generate, which is only needed to setup your project and can be deleted afterwards. Using the template works by executing the following commands:

cargo install cargo-generate
cargo generate --name my-awesome-project --git https://github.com/hrittich/gl-template

To run your program execute the following commands:

cd my-awesome-project
cargo run

Now, you can move on to learning OpenGL. Have fun!

About

Minimal template for using OpenGL with Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published