Browse Source

Code formatting.

Lasse Öörni 12 years ago
parent
commit
a20d38b13d
1 changed files with 2 additions and 5 deletions
  1. 2 5
      Source/Engine/Math/Vector3.h

+ 2 - 5
Source/Engine/Math/Vector3.h

@@ -27,7 +27,7 @@
 namespace Urho3D
 namespace Urho3D
 {
 {
 
 
-/// Three-dimensional vector classs.
+/// Three-dimensional vector.
 class URHO3D_API Vector3
 class URHO3D_API Vector3
 {
 {
 public:
 public:
@@ -190,10 +190,7 @@ public:
     /// Test for equality with another vector with epsilon.
     /// Test for equality with another vector with epsilon.
     bool Equals(const Vector3& rhs) const { return Urho3D::Equals(x_, rhs.x_) && Urho3D::Equals(y_, rhs.y_) && Urho3D::Equals(z_, rhs.z_); }
     bool Equals(const Vector3& rhs) const { return Urho3D::Equals(x_, rhs.x_) && Urho3D::Equals(y_, rhs.y_) && Urho3D::Equals(z_, rhs.z_); }
     /// Returns the angle between this vector and another vector in degrees.
     /// Returns the angle between this vector and another vector in degrees.
-    float Angle(const Vector3& rhs) const
-    {
-        return Urho3D::Acos(DotProduct(rhs) / (Length() * rhs.Length() ) );
-    }
+    float Angle(const Vector3& rhs) const { return Urho3D::Acos(DotProduct(rhs) / (Length() * rhs.Length() ) ); }
 
 
     /// Return normalized to unit length.
     /// Return normalized to unit length.
     Vector3 Normalized() const
     Vector3 Normalized() const