|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator+ (const matrix< T, N, M > &a, const matrix< T, N, M > &b) noexcept |
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator/ (const matrix< T, N, M > &a, const matrix< T, N, M > &b) noexcept |
| Divides a matrix by a matrix. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator/ (const matrix< T, N, M > &a, T b) noexcept |
| Divides a matrix by a scalar. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator/ (T a, const matrix< T, N, M > &b) noexcept |
| Divides a scalar by a matrix. More...
|
|
template<class T , std::size_t N, std::size_t M, std::size_t P> |
constexpr matrix< T, P, M > | operator* (const matrix< T, N, M > &a, const matrix< T, P, N > &b) noexcept |
| Multiplies two matrices. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M >::column_vector_type | operator* (const matrix< T, N, M > &a, const typename matrix< T, N, M >::row_vector_type &b) noexcept |
| Calculates the product of a matrix and a row vector. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M >::row_vector_type | operator* (const typename matrix< T, N, M >::column_vector_type &a, const matrix< T, N, M > &b) noexcept |
| Calculates the product of a column vector and a matrix. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator- (const matrix< T, N, M > &a, const matrix< T, N, M > &b) noexcept |
| Subtracts a matrix from another matrix. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator- (const matrix< T, N, M > &a, T b) noexcept |
| Subtracts a scalar from matrix. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator- (T a, const matrix< T, N, M > &b) noexcept |
| Subtracts a matrix from a scalar. More...
|
|
template<class T > |
constexpr quaternion< T > | operator+ (const quaternion< T > &a, const quaternion< T > &b) noexcept |
|
template<class T > |
constexpr quaternion< T > | operator/ (const quaternion< T > &a, const quaternion< T > &b) noexcept |
| Divides a quaternion by another quaternion. More...
|
|
template<class T > |
constexpr quaternion< T > | operator/ (const quaternion< T > &a, T b) noexcept |
| Divides a quaternion by a scalar. More...
|
|
template<class T > |
constexpr quaternion< T > | operator/ (T a, const quaternion< T > &b) noexcept |
| Divides a scalar by a quaternion. More...
|
|
template<class T > |
constexpr quaternion< T > | operator* (const quaternion< T > &a, const quaternion< T > &b) noexcept |
| Multiplies two quaternions. More...
|
|
template<class T > |
constexpr vec3< T > | operator* (const quaternion< T > &q, const vec3< T > &v) noexcept |
| Rotates a vector by a unit quaternion. More...
|
|
template<class T > |
constexpr vec3< T > | operator* (const vec3< T > &v, const quaternion< T > &q) noexcept |
| Rotates a vector by the inverse of a unit quaternion. More...
|
|
template<class T > |
constexpr quaternion< T > | operator- (const quaternion< T > &a, const quaternion< T > &b) noexcept |
| Subtracts a quaternion from another quaternion. More...
|
|
template<class T > |
constexpr quaternion< T > | operator- (const quaternion< T > &q) noexcept |
| Negates a quaternion. More...
|
|
template<class T > |
math::transform< T > | operator* (const math::transform< T > &x, const math::transform< T > &y) |
| Combines two transforms. More...
|
|
template<class T > |
constexpr math::vec3< T > | operator* (const math::transform< T > &t, const math::vec3< T > &v) noexcept |
|
template<class T > |
constexpr math::vec3< T > | operator* (const math::vec3< T > &v, const math::transform< T > &t) noexcept |
|
template<class T > |
math::transform< T > & | operator*= (math::transform< T > &x, const math::transform< T > &y) |
| Combines two transforms and stores the result in the first transform. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator+ (const vector< T, N > &x, const vector< T, N > &y) noexcept |
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator/ (const vector< T, N > &x, const vector< T, N > &y) noexcept |
| Divides a vector by a value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator/ (const vector< T, N > &x, T y) noexcept |
| Divides a vector by a value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator/ (T x, const vector< T, N > &y) noexcept |
| Divides a vector by a value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator* (const vector< T, N > &x, const vector< T, N > &y) noexcept |
| Multiplies two values. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator- (const vector< T, N > &x) noexcept |
| Negates a vector. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator- (const vector< T, N > &x, const vector< T, N > &y) noexcept |
| Subtracts a value by another value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator- (const vector< T, N > &x, T y) noexcept |
| Subtracts a value by another value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator- (T x, const vector< T, N > &y) noexcept |
| Subtracts a value by another value. More...
|
|
template<class T , std::size_t N> |
constexpr bool | operator== (const vector< T, N > &x, const vector< T, N > &y) noexcept |
| Tests two vector for equality. More...
|
|
template<class T , std::size_t N> |
constexpr bool | operator!= (const vector< T, N > &x, const vector< T, N > &y) noexcept |
| Tests two vector for inequality. More...
|
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator+ (const matrix< T, N, M > &a, T b) noexcept |
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator+ (T a, const matrix< T, N, M > &b) noexcept |
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator* (const matrix< T, N, M > &a, T b) noexcept |
| Multiplies a matrix by a scalar. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > | operator* (T a, const matrix< T, N, M > &b) noexcept |
| Multiplies a matrix by a scalar. More...
|
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator+= (matrix< T, N, M > &a, const matrix< T, N, M > &b) noexcept |
| Adds two values and stores the result in the first value. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator+= (matrix< T, N, M > &a, T b) noexcept |
| Adds two values and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator-= (matrix< T, N, M > &a, const matrix< T, N, M > &b) noexcept |
| Subtracts the first value by the second value and stores the result in the first value. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator-= (matrix< T, N, M > &a, T b) noexcept |
| Subtracts the first value by the second value and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N> |
constexpr matrix< T, N, N > & | operator*= (matrix< T, N, N > &a, const matrix< T, N, N > &b) noexcept |
| Multiplies two values and stores the result in the first value. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator*= (matrix< T, N, M > &a, T b) noexcept |
| Multiplies two values and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator/= (matrix< T, N, M > &a, const matrix< T, N, M > &b) noexcept |
| Divides the first value by the second value and stores the result in the first value. More...
|
|
template<class T , std::size_t N, std::size_t M> |
constexpr matrix< T, N, M > & | operator/= (matrix< T, N, M > &a, T b) noexcept |
| Divides the first value by the second value and stores the result in the first value. More...
|
|
|
template<class T > |
constexpr quaternion< T > | operator+ (const quaternion< T > &a, T b) noexcept |
|
template<class T > |
constexpr quaternion< T > | operator+ (T a, const quaternion< T > &b) noexcept |
|
|
template<class T > |
constexpr quaternion< T > | operator* (const quaternion< T > &a, T b) noexcept |
| Multiplies a quaternion by a scalar. More...
|
|
template<class T > |
constexpr quaternion< T > | operator* (T a, const quaternion< T > &b) noexcept |
| Multiplies a quaternion by a scalar. More...
|
|
|
template<class T > |
constexpr quaternion< T > | operator- (const quaternion< T > &a, T b) noexcept |
| Subtracts a quaternion and a scalar. More...
|
|
template<class T > |
constexpr quaternion< T > | operator- (T a, const quaternion< T > &b) noexcept |
| Subtracts a quaternion and a scalar. More...
|
|
|
template<class T > |
constexpr quaternion< T > & | operator+= (quaternion< T > &a, const quaternion< T > &b) noexcept |
| Adds two values and stores the result in the first value. More...
|
|
template<class T > |
constexpr quaternion< T > & | operator+= (quaternion< T > &a, T b) noexcept |
| Adds two values and stores the result in the first value. More...
|
|
|
template<class T > |
constexpr quaternion< T > & | operator-= (quaternion< T > &a, const quaternion< T > &b) noexcept |
| Subtracts the first value by the second value and stores the result in the first value. More...
|
|
template<class T > |
constexpr quaternion< T > & | operator-= (quaternion< T > &a, T b) noexcept |
| Subtracts the first value by the second value and stores the result in the first value. More...
|
|
|
template<class T > |
constexpr quaternion< T > & | operator*= (quaternion< T > &a, const quaternion< T > &b) noexcept |
| Multiplies two values and stores the result in the first value. More...
|
|
template<class T > |
constexpr quaternion< T > & | operator*= (quaternion< T > &a, T b) noexcept |
| Multiplies two values and stores the result in the first value. More...
|
|
|
template<class T > |
constexpr quaternion< T > & | operator/= (quaternion< T > &a, const quaternion< T > &b) noexcept |
| Divides the first value by the second value and stores the result in the first value. More...
|
|
template<class T > |
constexpr quaternion< T > & | operator/= (quaternion< T > &a, T b) noexcept |
| Divides the first value by the second value and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator+ (const vector< T, N > &x, T y) noexcept |
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator+ (T x, const vector< T, N > &y) noexcept |
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator* (const vector< T, N > &x, T y) noexcept |
| Multiplies two values. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > | operator* (T x, const vector< T, N > &y) noexcept |
| Multiplies two values. More...
|
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator+= (vector< T, N > &x, const vector< T, N > &y) noexcept |
| Adds two values and stores the result in the first value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator+= (vector< T, N > &x, T y) noexcept |
| Adds two values and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator-= (vector< T, N > &x, const vector< T, N > &y) noexcept |
| Subtracts the first value by the second value and stores the result in the first value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator-= (vector< T, N > &x, T y) noexcept |
| Subtracts the first value by the second value and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator*= (vector< T, N > &x, const vector< T, N > &y) noexcept |
| Multiplies two values and stores the result in the first value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator*= (vector< T, N > &x, T y) noexcept |
| Multiplies two values and stores the result in the first value. More...
|
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator/= (vector< T, N > &x, const vector< T, N > &y) noexcept |
| Divides the first value by the second value and stores the result in the first value. More...
|
|
template<class T , std::size_t N> |
constexpr vector< T, N > & | operator/= (vector< T, N > &x, T y) noexcept |
| Divides the first value by the second value and stores the result in the first value. More...
|
|