Mathter
A configurable 3D math library for game developers.
Namespaces | Enumerations | Functions | Variables
IoStream.hpp File Reference
#include "Vector.hpp"
#include <iostream>

Go to the source code of this file.

Namespaces

 mathter
 
 mathter::impl
 

Enumerations

enum  mathter::eEnclosingBracket { mathter::eEnclosingBracket::NONE, mathter::eEnclosingBracket::PARANTHESE, mathter::eEnclosingBracket::BRACKET, mathter::eEnclosingBracket::BRACE }
 

Functions

template<class T , int Dim, bool Packed>
std::ostream & mathter::operator<< (std::ostream &os, const mathter::Vector< T, Dim, Packed > &v)
 Prints the vector like [1,2,3]. More...
 
template<class AritT , typename std::enable_if< std::is_integral< AritT >::value &&std::is_signed< AritT >::value, int >::type = 0>
AritT mathter::impl::strtonum (const char *str, const char **end)
 
const char * mathter::impl::StripSpaces (const char *str)
 
template<class T , int Dim, bool Packed>
Vector< T, Dim, Packed > mathter::strtovec (const char *str, const char **end)
 Parses a vector from a string. More...
 
template<class VectorT >
VectorT mathter::strtovec (const char *str, const char **end)
 
template<class T , int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
std::ostream & mathter::operator<< (std::ostream &os, const Matrix< T, Rows, Columns, Order, Layout, Packed > &mat)
 
template<class T , int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
Matrix< T, Rows, Columns, Order, Layout, Packed > mathter::strtomat (const char *str, const char **end)
 
template<class MatrixT >
MatrixT mathter::strtomat (const char *str, const char **end)
 
template<class T , bool Packed>
std::ostream & mathter::operator<< (std::ostream &os, const Quaternion< T, Packed > &q)
 

Variables

template<class T >
constexpr bool mathter::impl::dependent_false_v = dependent_false<T>::value