summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMäättä Antti <antti.maatta@theqtcompany.com>2016-04-19 12:19:13 +0300
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2016-04-19 10:29:43 +0000
commit7c9331e953700e4c35e4bd3d51ebc49e4c3b0f80 (patch)
treed0cdbd4db77bb04275477050d22236336163a0a6 /src
parent04ad26b9286d6d9d6ad7a65a15d9929ef45838e9 (diff)
Fix couple of typos in docs
Fix some typos in docs. Change-Id: I979afaeb8a5661f1ea840f496db69602cf0e9178 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by: Janne Koskinen <janne.p.koskinen@theqtcompany.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/render/defaults/qskyboxentity.cpp2
-rw-r--r--src/render/texture/qtextureimage.cpp4
-rw-r--r--src/render/texture/qtexturewrapmode.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/render/defaults/qskyboxentity.cpp b/src/render/defaults/qskyboxentity.cpp
index b208df6b4..6e333ab64 100644
--- a/src/render/defaults/qskyboxentity.cpp
+++ b/src/render/defaults/qskyboxentity.cpp
@@ -279,7 +279,7 @@ void QSkyboxEntity::setCameraPosition(const QVector3D &cameraPosition)
}
/*!
- * Returns the camera postion.
+ * Returns the camera position.
*/
QVector3D QSkyboxEntity::cameraPosition() const
{
diff --git a/src/render/texture/qtextureimage.cpp b/src/render/texture/qtextureimage.cpp
index 02d1a5b5e..cc35c8cb2 100644
--- a/src/render/texture/qtextureimage.cpp
+++ b/src/render/texture/qtextureimage.cpp
@@ -100,14 +100,14 @@ QTextureImage::Status QTextureImage::status() const
/*!
\property Qt3DRender::QTextureImage::source
- This property holdsthe source url from which data for the texture
+ This property holds the source url from which data for the texture
image will be loaded.
*/
/*!
\qmlproperty url Qt3D.Render::TextureImage::source
- This property holdsthe source url from which data for the texture
+ This property holds the source url from which data for the texture
image will be loaded.
*/
diff --git a/src/render/texture/qtexturewrapmode.cpp b/src/render/texture/qtexturewrapmode.cpp
index da4ebad1b..96b59aa53 100644
--- a/src/render/texture/qtexturewrapmode.cpp
+++ b/src/render/texture/qtexturewrapmode.cpp
@@ -147,7 +147,7 @@ void QTextureWrapMode::setZ(WrapMode z)
}
/*!
- Returns the wrap mode of the y dimension.
+ Returns the wrap mode of the z dimension.
*/
QTextureWrapMode::WrapMode QTextureWrapMode::z() const
{