Back to index

libsfml  1.6+dfsg2
Classes | Namespaces | Typedefs | Functions
Vector3.hpp File Reference
#include <SFML/System/Vector3.inl>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sf::Vector3< T >
 Vector3 is an utility class for manipulating 3 dimensional vectors. Template parameter defines the type of coordinates (integer, float, ...) /////////////////////////////////////////////////////////. More...

Namespaces

namespace  sf

Typedefs

typedef Vector3< int > sf::Vector3i
typedef Vector3< float > sf::Vector3f

Functions

template<typename T >
Vector3< T > sf::operator- (const Vector3< T > &V)
 Operator - overload ; returns the opposite of a vector.
template<typename T >
Vector3< T > & sf::operator+= (Vector3< T > &V1, const Vector3< T > &V2)
 Operator += overload ; add two vectors and assign to the first op.
template<typename T >
Vector3< T > & sf::operator-= (Vector3< T > &V1, const Vector3< T > &V2)
 Operator -= overload ; subtract two vectors and assign to the first op.
template<typename T >
Vector3< T > sf::operator+ (const Vector3< T > &V1, const Vector3< T > &V2)
 Operator + overload ; adds two vectors.
template<typename T >
Vector3< T > sf::operator- (const Vector3< T > &V1, const Vector3< T > &V2)
 Operator - overload ; subtracts two vectors.
template<typename T >
Vector3< T > sf::operator* (const Vector3< T > &V, T X)
 Operator * overload ; multiply a vector by a scalar value.
template<typename T >
Vector3< T > sf::operator* (T X, const Vector3< T > &V)
 Operator * overload ; multiply a scalar value by a vector.
template<typename T >
Vector3< T > & sf::operator*= (Vector3< T > &V, T X)
 Operator *= overload ; multiply-assign a vector by a scalar value.
template<typename T >
Vector3< T > sf::operator/ (const Vector3< T > &V, T X)
 Operator / overload ; divide a vector by a scalar value.
template<typename T >
Vector3< T > & sf::operator/= (Vector3< T > &V, T X)
 Operator /= overload ; divide-assign a vector by a scalar value.
template<typename T >
bool sf::operator== (const Vector3< T > &V1, const Vector3< T > &V2)
 Operator == overload ; compares the equality of two vectors.
template<typename T >
bool sf::operator!= (const Vector3< T > &V1, const Vector3< T > &V2)
 Operator != overload ; compares the difference of two vectors.