Ken Whatmough 13 vuotta sitten
vanhempi
sitoutus
8dc3f87c29
4 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 1 1
      gameplay/src/Vector2.cpp
  2. 1 1
      gameplay/src/Vector2.h
  3. 1 1
      gameplay/src/Vector4.cpp
  4. 1 1
      gameplay/src/Vector4.h

+ 1 - 1
gameplay/src/Vector2.cpp

@@ -171,7 +171,7 @@ Vector2& Vector2::normalize()
     return *this;
     return *this;
 }
 }
 
 
-void Vector2::normalize(Vector2* dst)
+void Vector2::normalize(Vector2* dst) const
 {
 {
     GP_ASSERT(dst);
     GP_ASSERT(dst);
 
 

+ 1 - 1
gameplay/src/Vector2.h

@@ -245,7 +245,7 @@ public:
      *
      *
      * @param dst The destination vector.
      * @param dst The destination vector.
      */
      */
-    void normalize(Vector2* dst);
+    void normalize(Vector2* dst) const;
 
 
     /**
     /**
      * Scales all elements of this vector by the specified value.
      * Scales all elements of this vector by the specified value.

+ 1 - 1
gameplay/src/Vector4.cpp

@@ -239,7 +239,7 @@ Vector4& Vector4::normalize()
     return *this;
     return *this;
 }
 }
 
 
-void Vector4::normalize(Vector4* dst)
+void Vector4::normalize(Vector4* dst) const
 {
 {
     GP_ASSERT(dst);
     GP_ASSERT(dst);
 
 

+ 1 - 1
gameplay/src/Vector4.h

@@ -283,7 +283,7 @@ public:
      *
      *
      * @param dst The destination vector.
      * @param dst The destination vector.
      */
      */
-    void normalize(Vector4* dst);
+    void normalize(Vector4* dst) const;
 
 
     /**
     /**
      * Scales all elements of this vector by the specified value.
      * Scales all elements of this vector by the specified value.