diff options
Diffstat (limited to 'src/extras/geometries/qcuboidgeometry.cpp')
-rw-r--r-- | src/extras/geometries/qcuboidgeometry.cpp | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/extras/geometries/qcuboidgeometry.cpp b/src/extras/geometries/qcuboidgeometry.cpp index 195f8075b..4c4e006f7 100644 --- a/src/extras/geometries/qcuboidgeometry.cpp +++ b/src/extras/geometries/qcuboidgeometry.cpp @@ -8,15 +8,13 @@ #include <Qt3DCore/qbuffer.h> #include <Qt3DCore/private/corelogging_p.h> -#include <limits> - - QT_BEGIN_NAMESPACE -using namespace Qt3DCore; namespace Qt3DExtras { +using namespace Qt3DCore; + namespace { enum PlaneNormal { @@ -536,7 +534,7 @@ QByteArray QCuboidGeometryPrivate::generateIndexData() const /*! * \class Qt3DExtras::QCuboidGeometry - \ingroup qt3d-extras-geometries + * \ingroup qt3d-extras-geometries * \inheaderfile Qt3DExtras/QCuboidGeometry * \inmodule Qt3DExtras * \brief The QCuboidGeometry class allows creation of a cuboid in 3D space. @@ -673,7 +671,7 @@ void QCuboidGeometry::setXYMeshResolution(const QSize &resolution) } /*! - * \property QCuboidGeometry::xExtent + * \property Qt3DExtras::QCuboidGeometry::xExtent * * Holds the x extent of the geometry. */ @@ -684,7 +682,7 @@ float QCuboidGeometry::xExtent() const } /*! - * \property QCuboidGeometry::yExtent + * \property Qt3DExtras::QCuboidGeometry::yExtent * * Holds the y extent of the geometry. */ @@ -695,7 +693,7 @@ float QCuboidGeometry::yExtent() const } /*! - * \property QCuboidGeometry::zExtent + * \property Qt3DExtras::QCuboidGeometry::zExtent * * Holds the z extent of the geometry. */ @@ -706,7 +704,7 @@ float QCuboidGeometry::zExtent() const } /*! - * \property QCuboidGeometry::yzMeshResolution + * \property Qt3DExtras::QCuboidGeometry::yzMeshResolution * * Holds the y-z resolution. * The width and height values of this property specify the number of vertices generated for @@ -719,7 +717,7 @@ QSize QCuboidGeometry::yzMeshResolution() const } /*! - * \property QCuboidGeometry::xzMeshResolution + * \property Qt3DExtras::QCuboidGeometry::xzMeshResolution * * Holds the x-z resolution. * The width and height values of this property specify the number of vertices generated for @@ -732,7 +730,7 @@ QSize QCuboidGeometry::xyMeshResolution() const } /*! - * \property QCuboidGeometry::xyMeshResolution + * \property Qt3DExtras::QCuboidGeometry::xyMeshResolution * * Holds the x-y resolution. * The width and height values of this property specify the number of vertices generated for @@ -745,7 +743,7 @@ QSize QCuboidGeometry::xzMeshResolution() const } /*! - * \property QCuboidGeometry::positionAttribute + * \property Qt3DExtras::QCuboidGeometry::positionAttribute * * Holds the geometry position attribute. */ @@ -756,7 +754,7 @@ QAttribute *QCuboidGeometry::positionAttribute() const } /*! - * \property QCuboidGeometry::normalAttribute + * \property Qt3DExtras::QCuboidGeometry::normalAttribute * * Holds the geometry normal attribute. */ @@ -767,7 +765,7 @@ QAttribute *QCuboidGeometry::normalAttribute() const } /*! - * \property QCuboidGeometry::texCoordAttribute + * \property Qt3DExtras::QCuboidGeometry::texCoordAttribute * * Holds the geometry texture coordinate attribute. */ @@ -778,7 +776,7 @@ QAttribute *QCuboidGeometry::texCoordAttribute() const } /*! - * \property QCuboidGeometry::tangentAttribute + * \property Qt3DExtras::QCuboidGeometry::tangentAttribute * * Holds the geometry tangent attribute. */ @@ -789,7 +787,7 @@ QAttribute *QCuboidGeometry::tangentAttribute() const } /*! - * \property QCuboidGeometry::indexAttribute + * \property Qt3DExtras::QCuboidGeometry::indexAttribute * * Holds the geometry index attribute. */ |