Daniele Bartolini 10 lat temu
rodzic
commit
8a8c7f83c1
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      src/core/math/vector4.h

+ 1 - 3
src/core/math/vector4.h

@@ -13,9 +13,6 @@ namespace crown
 /// @addtogroup Math
 /// @addtogroup Math
 /// @{
 /// @{
 
 
-/// Returns the Vector3 portion of @a a. (i.e. truncates w)
-Vector3 to_vector3(const Vector4& a);
-
 inline Vector4 vector4(float x, float y, float z, float w)
 inline Vector4 vector4(float x, float y, float z, float w)
 {
 {
 	Vector4 v;
 	Vector4 v;
@@ -214,6 +211,7 @@ inline const float* to_float_ptr(const Vector4& a)
 	return &a.x;
 	return &a.x;
 }
 }
 
 
+/// Returns the Vector3 portion of @a a. (i.e. truncates w)
 inline Vector3 to_vector3(const Vector4& a)
 inline Vector3 to_vector3(const Vector4& a)
 {
 {
 	Vector3 v;
 	Vector3 v;