Browse Source

Primitives: doc++

Whoops, forgot to list the optional attributes here.
pull/674/head
Vladimír Vondruš 12 months ago
parent
commit
f4b574b68e
  1. 14
      src/Magnum/Primitives/Cube.h

14
src/Magnum/Primitives/Cube.h

@ -38,7 +38,7 @@
namespace Magnum { namespace Primitives { namespace Magnum { namespace Primitives {
/** /**
@brief 3D cube flag @brief Cube flag
@m_since_latest @m_since_latest
@see @ref CubeFlags, @ref cubeSolid() @see @ref CubeFlags, @ref cubeSolid()
@ -124,10 +124,10 @@ enum class CubeFlag: UnsignedByte {
}; };
/** /**
@brief 3D cube flags @brief Cube flags
@m_since_latest @m_since_latest
@see @ref circle2DSolid() @see @ref cubeSolid()
*/ */
typedef Containers::EnumSet<CubeFlag> CubeFlags; typedef Containers::EnumSet<CubeFlag> CubeFlags;
@ -138,10 +138,10 @@ CORRADE_ENUMSET_OPERATORS(CubeFlags)
2x2x2 cube, centered at origin. @ref MeshPrimitive::Triangles with 2x2x2 cube, centered at origin. @ref MeshPrimitive::Triangles with
@ref MeshIndexType::UnsignedShort indices, interleaved @ref MeshIndexType::UnsignedShort indices, interleaved
@ref VertexFormat::Vector3 positions and flat @ref VertexFormat::Vector3 @ref VertexFormat::Vector3 positions, flat @ref VertexFormat::Vector3 normals, optional @ref VertexFormat::Vector4 tangents and optional
normals. If no @p flags are passed, the returned instance references @ref VertexFormat::Vector2 texture coordinates. If no @p flags are passed, the
@ref Trade::DataFlag::Global data --- pass the mesh through returned instance references @ref Trade::DataFlag::Global data --- pass the
@ref MeshTools::copy() to get a mutable copy, if needed. mesh through @ref MeshTools::copy() to get a mutable copy, if needed.
@image html primitives-cubesolid.png width=256px @image html primitives-cubesolid.png width=256px

Loading…
Cancel
Save