What's new in MGL 3.13
Apr 18, 2012
- Spline.hpp added
- Mesh.hpp, IndexStream.hpp : The default initializer has been corrected.
New in MGL 3.12_2 (Apr 18, 2012)
- Image.hpp: load() has been added.
- getPixel() added.
- mgColors.inl added. (all the colors you may want)
- Vertex2dColor.hpp added.
- ShaderGrid.hpp added.
- Vector2.hpp, Vector3.hpp, Vector4.hpp: 'inline' explicit instancing to avoid linking collisions
- MgId.hpp templated to support independant id list.
- Some cosmetic changes in the Stream, IndexStream and VertexStream classes.
New in MGL 3.12_1 (Apr 18, 2012)
- BaseMesh.hpp transformations have changed the notation to matrix_transform()
New in MGL 3.12 (Apr 18, 2012)
- Camera.hpp added
- matrix_transforms.inl : mglOrtho() and mglFustrum() modified.
- Sprite.hpp, BaseMesh.hpp : the copy constructor missed const!!!
- ShapeHexahedron.hpp : some minor corrections
- ShaderLightingLambert : updated
New in MGL 3.11_1 (Apr 18, 2012)
- Font.hpp : memory leak solved!
- Shaders no longer show the error "implicit casting from int to float"
New in MGL 3.11 (Apr 18, 2012)
- PixelBuffer.LoadBMP() and PixelBuffer.LoadTGA() has been moved to the Image class.
- mgImport_font.c and mgImport_font.h added
- Font.hpp added
- FramBufferTexture.hpp : generateFramebufferTextureNoDepth() added
- Mesh.hpp : draw() no arguments is added. This only works if attributes match with the shader.
- FrameBufferTexture now inherits from Image. It makes more sense.
- Mesh.hpp : bug solved in copy constructor.
New in MGL 3.10 (Apr 18, 2012)
- Code::Blocks workspace added
- glDeleteTextures() has been removed from ~Image. It throws an exception if the context is not
- created or destroyed. This happens if the user closes the application from the console and
- depends arbitrary how the resources are released. (OpenGL bug?)
- OpenGL cleans all resources in the GPU when the context is closed anyway.
- glDeleteBuffer() seems that it does not have the same problem.
- mglibs moved to /src/mglib
- mgImport_tga.c and mgImport_bmp.c now check if the buffer provided has enough capacity.
- PixelUnpackBuffer.hpp added
- ShaderLambertLighting.hpp added
- ShaderBasic.hpp added
- ShaderBlend.hpp added
- VertexStream.hpp : Compilation problem solved when the attributes are send in an array.
New in MGL 3.09_2 (Apr 18, 2012)
- Shaders implemented in the examples corrected to follow GLSL specs.
New in MGL 3.09_1 (Apr 18, 2012)
- VertexTextureNormalColor now has the correct attribute order
- Small bug fixed in dev302 example
- Small bug fixed in dev306 example
- Bug solved in mesh.draw(), it was not drawing when index=nullptr and freeMemory() is called.
- mgImport_tga.c and mgImport_bmp.c modified to support an external provided buffer
- Examples dev309, dev308, dev307 has been modified for the above reason.
- A third clause has been included in the copyright notice. Basically modified versions must be
- indicated as modified. It is still compatible with MIT/X11 and GPL.
New in MGL 3.09 (Apr 18, 2012)
- FrameBufferTexture.hpp added
- mgImport_obj() filename parameter qualifier corrected to const char
- now draw_vp0() now correctly works with only vertex position