https://github.com/carlmartus/lingo
Rust OpenGL helper library
https://github.com/carlmartus/lingo
3d-camera glsl opengl opengl-es-20 rust
Last synced: about 2 months ago
JSON representation
Rust OpenGL helper library
- Host: GitHub
- URL: https://github.com/carlmartus/lingo
- Owner: carlmartus
- License: mit
- Created: 2018-03-24T08:35:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T17:49:04.000Z (about 5 years ago)
- Last Synced: 2025-06-19T13:53:41.972Z (12 months ago)
- Topics: 3d-camera, glsl, opengl, opengl-es-20, rust
- Language: Rust
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Lingo
[](https://travis-ci.org/carlmartus/lingo)
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](samples/hello_triangle.rs), *Hello world* but for GPU.
- [Stride](samples/stride.rs), multiple vertex attributes using stride.
- [3D camera](samples/camera.rs), using projections to get a 3D camera
perspective.