From 2f1c1aaefd1739dd62d7c6bbf22cfd7bcfc826ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 26 Aug 2018 01:49:39 +0200 Subject: [PATCH] Primitives: document how the grid is oriented. --- src/Magnum/Primitives/Grid.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Primitives/Grid.h b/src/Magnum/Primitives/Grid.h index c049df981..767b17a97 100644 --- a/src/Magnum/Primitives/Grid.h +++ b/src/Magnum/Primitives/Grid.h @@ -66,8 +66,8 @@ CORRADE_ENUMSET_OPERATORS(GridFlags) /** @brief 3D solid grid -2x2 grid. Indexed @ref MeshPrimitive::Triangles with optional normals and -texture coordinates. +2x2 grid in the XY plane with normals in positive Z direction. Indexed +@ref MeshPrimitive::Triangles with optional normals and texture coordinates. @image html primitives-grid3dsolid.png @@ -83,7 +83,7 @@ MAGNUM_PRIMITIVES_EXPORT Trade::MeshData3D grid3DSolid(const Vector2i& subdivisi /** @brief 3D wireframe grid -2x2 grid. Indexed @ref MeshPrimitive::Lines. +2x2 grid in the XY plane. Indexed @ref MeshPrimitive::Lines. @image html primitives-grid3dwireframe.png