golib
0.5
|
3-dimensional vector. More...
#include <go3vector.h>
Public Member Functions | |
go3Vector (const go3Vector< T > &other) | |
go3Vector (T t1, T t2, T t3) | |
template<class To > | |
bool | operator== (const go3Vector< To > &other) const |
template<class To > | |
bool | operator!= (const go3Vector< To > &other) const |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > & | operator= (const go3Vector< T > other) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > & | operator-= (go3Vector< T > &other) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > & | operator-= (const go3Vector< T > &other) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > & | operator+= (go3Vector< T > &other) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > & | operator*= (T other) |
GO3VECTOR_FUNCTION_PREFIX T | operator* (go3Vector< T > &other) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > | operator* (T val) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > | operator* (const T val) const |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > | operator+ (go3Vector< T > &other) |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > | operator+ (go3Vector< T > &other) const |
GO3VECTOR_FUNCTION_PREFIX go3Vector< T > | operator+ (const go3Vector< T > &other) const |
GO3VECTOR_FUNCTION_PREFIX T | operator* (const go3Vector< T > &other) const |
GO3VECTOR_FUNCTION_PREFIX void | cross (const go3Vector< T > &other) |
GO3VECTOR_FUNCTION_PREFIX goDouble | abs () |
Public Attributes | |
T | x |
T | y |
T | z |
3-dimensional vector.