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

Go to the source code of this file.

Classes

struct  vec2< T >
 

Functions

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

Function Documentation

◆ build_vec2()

template<class T >
vec2< T > build_vec2 ( void *  in)

cast from void* to vec2

Template Parameters
T
Parameters
in
Returns

◆ operator<<()

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