GLContextSettings
(previously GLSettings
): Anti-Alias is now an enum - commit
GLContextSettings
(previously GLSettings
): The OpenGL version is now an enum (like in Derelict.GL) - commit
GLContextSettings
(previously GLSettings
) offers now a Core-Profile enum -
commit
With Dgame 0.6.0 it is possible to configure which profile you want to use for your OpenGL Context. You can choose between:
- Profile.Compatibility (deprecated functions are allowed), which is the default
- Profile.Core (deprecated functions are disabled), which is the default on OSX
- Profile.ES (use OpenGL-ES: only a subset of the base OpenGL functionality is available)
- Profile.None (profile depends on platform)
Touch.Finger
was moved and is now accesible without the Touch
prefix - commit
- Vertices which are passed to
Shape.append
must be lvalues (regarding the styleguide), Shape
offers instead an append which accepts an Vector2f
- commit
GLSettings
was renamed into GLContextSettings
- commit
- OpenGL is now required - commit
- Dgame offers now a Blend struct, so that blending can be used everywhere - commit
- Dgame does not use any longer auto ref. In the previous versions each struct like
Vector2f
or Rect
was passed by auto ref so that the most effective way was used. But therefore the concerned function/method must be an template. This led in a massive template-bloat, so that Dgame uses now copies all over the place - commit
Color4f
is no longer offered to public methods. Color4f
is intended only for experienced users and internal purposes -
commit
Shader
are now part of Dgame -
commit
- Renamed
Matrix4
to Matrix4x4
-
commit
Shape
is now capeable (like VertexArray
) to clear
the internal vertices without losing the capacity -
commit
- Renamed
Geometry.Quad
to Geometry.Quads
and Geometry.Triangle
to Geometry.Triangles
-
commit
- Fix #42 -
commit
Update Transformable and added VertexArray
Transformable: renamed setCenter to setRotationCenter
Transformable: added setOrigin
Transformable: scaling is now a Vector2f, to add the possibility to scale either in x or in y direction.
Matrix4: scale is now a Vector2f
- Fix #40 -
commit
Introduce d2c module to handle correct conversion from d strings to c strings.