Lugdunum  0.1.0
Functions
Vector.inl File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
constexpr Vector< 3, T > cross (const Vector< 3, T > &lhs, const Vector< 3, T > &rhs)
 
template<uint8_t Rows, typename T >
constexpr T dot (const Vector< Rows, T > &lhs, const Vector< Rows, T > &rhs)
 
template<uint8_t Rows, uint8_t Columns, typename T >
constexpr Matrix< Rows, Columns, T > outer (const Vector< Rows, T > &lhs, const Vector< Columns, T > &rhs)
 
template<uint8_t Rows, typename T >
constexpr Vector< Rows, T > normalize (const Vector< Rows, T > &lhs)
 
template<uint8_t Rows, typename T >
Vector< Rows, T > operator* (const Vector< Rows, T > &lhs, const Vector< Rows, T > &rhs)
 
template<uint8_t Rows, typename T >
Vector< Rows, T > operator/ (const Vector< Rows, T > &lhs, const Vector< Rows, T > &rhs)
 
template<uint8_t Rows, typename T >
Vector< Rows, T > operator* (const Vector< Rows, T > &lhs, const Matrix< Rows, Rows, T > &rhs)
 
template<uint8_t Rows, typename T >
Vector< Rows, T > operator* (const Matrix< Rows, Rows, T > &lhs, const Vector< Rows, T > &rhs)
 
template<typename T >
Vector< 3, T > operator* (const Vector< 3, T > &lhs, const Matrix< 4, 4, T > &rhs)
 
template<typename T >
Vector< 3, T > operator* (const Matrix< 4, 4, T > &lhs, const Vector< 3, T > &rhs)
 

Function Documentation

◆ cross()

template<typename T >
constexpr Vector<3, T> cross ( const Vector< 3, T > &  lhs,
const Vector< 3, T > &  rhs 
)
inline

Definition at line 72 of file Vector.inl.

◆ dot()

template<uint8_t Rows, typename T >
constexpr T dot ( const Vector< Rows, T > &  lhs,
const Vector< Rows, T > &  rhs 
)
inline

Definition at line 81 of file Vector.inl.

◆ outer()

template<uint8_t Rows, uint8_t Columns, typename T >
constexpr Matrix<Rows, Columns, T> outer ( const Vector< Rows, T > &  lhs,
const Vector< Columns, T > &  rhs 
)
inline

Definition at line 86 of file Vector.inl.

◆ normalize()

template<uint8_t Rows, typename T >
constexpr Vector<Rows, T> normalize ( const Vector< Rows, T > &  lhs)
inline

Definition at line 91 of file Vector.inl.

◆ operator*() [1/5]

template<uint8_t Rows, typename T >
Vector<Rows, T> operator* ( const Vector< Rows, T > &  lhs,
const Vector< Rows, T > &  rhs 
)
inline

Definition at line 96 of file Vector.inl.

◆ operator/()

template<uint8_t Rows, typename T >
Vector<Rows, T> operator/ ( const Vector< Rows, T > &  lhs,
const Vector< Rows, T > &  rhs 
)
inline

Definition at line 101 of file Vector.inl.

◆ operator*() [2/5]

template<uint8_t Rows, typename T >
Vector<Rows, T> operator* ( const Vector< Rows, T > &  lhs,
const Matrix< Rows, Rows, T > &  rhs 
)
inline

Definition at line 106 of file Vector.inl.

◆ operator*() [3/5]

template<uint8_t Rows, typename T >
Vector<Rows, T> operator* ( const Matrix< Rows, Rows, T > &  lhs,
const Vector< Rows, T > &  rhs 
)
inline

Definition at line 115 of file Vector.inl.

◆ operator*() [4/5]

template<typename T >
Vector<3, T> operator* ( const Vector< 3, T > &  lhs,
const Matrix< 4, 4, T > &  rhs 
)
inline

Definition at line 124 of file Vector.inl.

◆ operator*() [5/5]

template<typename T >
Vector<3, T> operator* ( const Matrix< 4, 4, T > &  lhs,
const Vector< 3, T > &  rhs 
)
inline

Definition at line 129 of file Vector.inl.