Mikko Rasa [Wed, 10 Oct 2007 06:58:39 +0000 (06:58 +0000)]
Make Material::apply const
Allow creating meshes runtime
Add Program::uniform4
Add arithmetic operators for Color
Use glXGetProcAddressARB to hopefully work on olfder glX implementations
Mikko Rasa [Mon, 3 Sep 2007 11:39:58 +0000 (11:39 +0000)]
Move VertexFormat and VertexArrayBuilder to their own files
Create a generix VertexBuilder class for building vertices
Add attribute binding to Program
Add primitive types
Add VertexArray loader
Add Immediate
Mikko Rasa [Tue, 12 Jun 2007 12:06:12 +0000 (12:06 +0000)]
Add vertex arrays and buffers
Add (some) matrix operations
Add transform operations
Texture changes:
- Throw if trying to bind a texture without a target
- Track textures per-unit
- Move the dimension getting functions from the base class to dimensioned textures
Font changes:
- Change descent of glyphs to x and y offsets
- Add wstring versions of get_string_width and draw_string
- Use a vertex array to store glyph vertices
- Add a default size for fonts