From 7acda40a674da895f23d368ac724715a9119b7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 17 Sep 2012 02:02:26 +0200 Subject: [PATCH] Doc++ (vector components, not values). --- src/Math/Vector3.h | 10 +++++----- src/Math/Vector4.h | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Math/Vector3.h b/src/Math/Vector3.h index 095b053fd..990a6cba2 100644 --- a/src/Math/Vector3.h +++ b/src/Math/Vector3.h @@ -112,16 +112,16 @@ template class Vector3: public Vector<3, T> { /** * @brief Constructor - * @param x X value - * @param y Y value - * @param z Z value + * @param x X component + * @param y Y component + * @param z Z component */ inline constexpr Vector3(T x, T y, T z): Vector<3, T>(x, y, z) {} /** * @brief Constructor - * @param xy Two component vector - * @param z Z value + * @param xy Two-component vector + * @param z Z component */ inline constexpr Vector3(const Vector<2, T>& xy, T z): Vector<3, T>(xy[0], xy[1], z) {} diff --git a/src/Math/Vector4.h b/src/Math/Vector4.h index 2111e744e..2fc35f9de 100644 --- a/src/Math/Vector4.h +++ b/src/Math/Vector4.h @@ -46,17 +46,17 @@ template class Vector4: public Vector<4, T> { /** * @brief Constructor - * @param x X value - * @param y Y value - * @param z Z value - * @param w W value + * @param x X component + * @param y Y component + * @param z Z component + * @param w W component */ inline constexpr Vector4(T x, T y, T z, T w = T(1)): Vector<4, T>(x, y, z, w) {} /** * @brief Constructor - * @param xyz Three component vector - * @param w W value + * @param xyz Three-component vector + * @param w W component */ /* Not marked as explicit, because conversion from Vector3 to Vector4 is fairly common, nearly always with W set to 1 */