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

Go to the source code of this file.

Classes

struct  vec3< T >
 
class  std::numeric_limits< vec3< T > >
 

Namespaces

namespace  std
 

Functions

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

Function Documentation

◆ build_vec3()

template<class T >
vec3< T > build_vec3 ( void *  in)

cast from 3d-array to vec3

Template Parameters
T
Parameters
in
Returns

◆ operator<<()

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