diff --git a/doc/python/conf.py b/doc/python/conf.py index a839f9e..23f5b3c 100644 --- a/doc/python/conf.py +++ b/doc/python/conf.py @@ -71,29 +71,29 @@ magnum.__annotations__ = { magnum.gl.__annotations__ = { 'default_framebuffer': magnum.gl.DefaultFramebuffer } -magnum.shaders.Flat2D.__annotations__ = { +magnum.shaders.FlatGL2D.__annotations__ = { 'POSITION': magnum.gl.Attribute, 'TEXTURE_COORDINATES': magnum.gl.Attribute, 'COLOR3': magnum.gl.Attribute, 'COLOR4': magnum.gl.Attribute } -magnum.shaders.Flat3D.__annotations__ = { +magnum.shaders.FlatGL3D.__annotations__ = { 'POSITION': magnum.gl.Attribute, 'TEXTURE_COORDINATES': magnum.gl.Attribute, 'COLOR3': magnum.gl.Attribute, 'COLOR4': magnum.gl.Attribute } -magnum.shaders.VertexColor2D.__annotations__ = { +magnum.shaders.VertexColorGL2D.__annotations__ = { 'POSITION': magnum.gl.Attribute, 'COLOR3': magnum.gl.Attribute, 'COLOR4': magnum.gl.Attribute } -magnum.shaders.VertexColor3D.__annotations__ = { +magnum.shaders.VertexColorGL3D.__annotations__ = { 'POSITION': magnum.gl.Attribute, 'COLOR3': magnum.gl.Attribute, 'COLOR4': magnum.gl.Attribute } -magnum.shaders.Phong.__annotations__ = { +magnum.shaders.PhongGL.__annotations__ = { 'POSITION': magnum.gl.Attribute, 'NORMAL': magnum.gl.Attribute, 'TANGENT': magnum.gl.Attribute, diff --git a/doc/python/pages/changelog.rst b/doc/python/pages/changelog.rst index 74882fe..107fa4f 100644 --- a/doc/python/pages/changelog.rst +++ b/doc/python/pages/changelog.rst @@ -42,8 +42,10 @@ Changelog would be silly to have to write :py:`getattr(Matrix4, 'from')` just to use these APIs - Exposed newly added off-center variants of - :ref:`Matrix4.orthographhic_projection()` and + :ref:`Matrix4.orthographic_projection()` and :ref:`Matrix3.projection()` +- Exposed :ref:`gl.Context` and its platform-specific subclasses for EGL, WGL + and GLX - Exposed :ref:`gl.Renderer.set_blend_function()`, :ref:`gl.Renderer.set_blend_equation()` and related enums (see :gh:`mosra/magnum-bindings#9`) - Exposed :ref:`gl.Renderer.Feature.CLIP_DISTANCEn ` @@ -66,7 +68,7 @@ Changelog - Various documentation fixes (see :gh:`mosra/magnum-bindings#11`) - Fixed copypaste errors in bindings for :ref:`Range2D.center_x()` / :ref:`Range2D.center_y()`, :ref:`Range3D.z()`, :ref:`Range3D.center_x()` / - :ref:`Range2D.center_y()` / :ref:`Range2D.center_z()` + :ref:`Range3D.center_y()` / :ref:`Range3D.center_z()` - Fixed a copypaste error in :ref:`platform.sdl2.Application.MouseMoveEvent.relative_position` and :ref:`platform.glfw.Application.MouseMoveEvent.relative_position`