Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mseddon/gl-utils
Some opengl utility classes salvaged from an older project.
https://github.com/mseddon/gl-utils
Last synced: 28 days ago
JSON representation
Some opengl utility classes salvaged from an older project.
- Host: GitHub
- URL: https://github.com/mseddon/gl-utils
- Owner: mseddon
- License: bsd-3-clause
- Created: 2015-11-14T12:13:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T16:06:05.000Z (about 9 years ago)
- Last Synced: 2023-03-01T21:10:49.967Z (almost 2 years ago)
- Language: Scala
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## gl-utils
This is some useful code ripped straight out from a much hairier project, ported from a wrapper layer that abstracted
over ios, android, jvm and js. It may be in a slightly borked state, but it compiles.It contains an `ImageCache` class, which implements a strip-packing algorithm to generate texture atlases, and an
`ImageBlitter` class, which batches up draw calls for rectangular images into a single dynamic vbo.The ImageBlitter also supports a `Mat2d` affine transform stack, and can intersect (transformed) rectangular clipping
regions via the stencil buffer.BSD Licensed, so basically do what you want, just acknowledge my work in anything you use it in.