|
@@ -70,6 +70,7 @@ Vector2< Type > Vector2< Type >::Normalise() const
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Generates a rounded vector from this vector.
|
|
// Generates a rounded vector from this vector.
|
|
|
|
|
+template < >
|
|
|
Vector2< float > Vector2< float >::Round() const
|
|
Vector2< float > Vector2< float >::Round() const
|
|
|
{
|
|
{
|
|
|
Vector2 < float > result;
|
|
Vector2 < float > result;
|
|
@@ -79,6 +80,7 @@ Vector2< float > Vector2< float >::Round() const
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Generates a rounded vector from this vector.
|
|
// Generates a rounded vector from this vector.
|
|
|
|
|
+template < >
|
|
|
Vector2< int > Vector2< int >::Round() const
|
|
Vector2< int > Vector2< int >::Round() const
|
|
|
{
|
|
{
|
|
|
return *this;
|
|
return *this;
|