diff options
Diffstat (limited to 'src/extras/geometries/qtorusgeometry.cpp')
-rw-r--r-- | src/extras/geometries/qtorusgeometry.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/extras/geometries/qtorusgeometry.cpp b/src/extras/geometries/qtorusgeometry.cpp index 07a15b742..30420969a 100644 --- a/src/extras/geometries/qtorusgeometry.cpp +++ b/src/extras/geometries/qtorusgeometry.cpp @@ -13,10 +13,11 @@ QT_BEGIN_NAMESPACE -using namespace Qt3DCore; namespace Qt3DExtras { +using namespace Qt3DCore; + namespace { int vertexCount(int requestedRings, int requestedSlices) @@ -269,7 +270,7 @@ QByteArray QTorusGeometryPrivate::generateIndexData() const /*! * \class Qt3DExtras::QTorusGeometry - \ingroup qt3d-extras-geometries + * \ingroup qt3d-extras-geometries * \inheaderfile Qt3DExtras/QTorusGeometry * \inmodule Qt3DExtras * \brief The QTorusGeometry class allows creation of a torus in 3D space. @@ -375,7 +376,7 @@ void QTorusGeometry::setMinorRadius(float minorRadius) } /*! - * \property QTorusGeometry::rings + * \property Qt3DExtras::QTorusGeometry::rings * * Holds the number of rings in the torus. */ @@ -386,7 +387,7 @@ int QTorusGeometry::rings() const } /*! - * \property QTorusGeometry::slices + * \property Qt3DExtras::QTorusGeometry::slices * * Holds the number of slices in the torus. */ @@ -397,7 +398,7 @@ int QTorusGeometry::slices() const } /*! - * \property QTorusGeometry::radius + * \property Qt3DExtras::QTorusGeometry::radius * * Holds the outer radius of the torus. */ @@ -408,7 +409,7 @@ float QTorusGeometry::radius() const } /*! - * \property QTorusGeometry::minorRadius + * \property Qt3DExtras::QTorusGeometry::minorRadius * * Holds the inner radius of the torus. */ @@ -419,7 +420,7 @@ float QTorusGeometry::minorRadius() const } /*! - * \property QTorusGeometry::positionAttribute + * \property Qt3DExtras::QTorusGeometry::positionAttribute * * Holds the geometry position attribute. */ @@ -430,7 +431,7 @@ QAttribute *QTorusGeometry::positionAttribute() const } /*! - * \property QTorusGeometry::normalAttribute + * \property Qt3DExtras::QTorusGeometry::normalAttribute * * Holds the geometry normal attribute. */ @@ -441,7 +442,7 @@ QAttribute *QTorusGeometry::normalAttribute() const } /*! - * \property QTorusGeometry::texCoordAttribute + * \property Qt3DExtras::QTorusGeometry::texCoordAttribute * * Holds the geometry texture coordinate attribute. */ @@ -452,7 +453,7 @@ QAttribute *QTorusGeometry::texCoordAttribute() const } /*! - * \property QTorusGeometry::indexAttribute + * \property Qt3DExtras::QTorusGeometry::indexAttribute * * Holds the geometry index attribute. */ |