philsupertramp/game-math
Loading...
Searching...
No Matches
Classes | Functions
vec4.h File Reference
#include <cmath>
#include <ostream>

Go to the source code of this file.

Classes

struct  vec4< T >
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &os, const vec4< T > &obj)
 
template<class T >
vec4< T > build_vec4 (void *in)
 

Function Documentation

◆ build_vec4()

template<class T >
vec4< T > build_vec4 ( void *  in)

cast from 4d-array of values to vec4

Template Parameters
T
Parameters
in
Returns

◆ operator<<()

template<class T >
std::ostream & operator<< ( std::ostream &  os,
const vec4< T > &  obj 
)