HologramDepthmap Library
Namespaces | Functions
vec.cpp File Reference
#include "graphics/vec.h"

Go to the source code of this file.

Namespaces

 graphics
 

Functions

void graphics::store (FILE *fp, const vec2 &v)
 
int graphics::scan (FILE *fp, const vec2 &v)
 
int graphics::apx_equal (const vec2 &a, const vec2 &b)
 
int graphics::apx_equal (const vec2 &a, const vec2 &b, real eps)
 
void graphics::store (FILE *fp, const vec3 &v)
 
int graphics::scan (FILE *fp, const vec3 &v)
 
int graphics::apx_equal (const vec3 &a, const vec3 &b)
 
int graphics::apx_equal (const vec3 &a, const vec3 &b, real eps)
 
void graphics::store (FILE *fp, const vec4 &v)
 
int graphics::scan (FILE *fp, const vec4 &v)
 
int graphics::apx_equal (const vec4 &a, const vec4 &b)
 
int graphics::apx_equal (const vec4 &a, const vec4 &b, real eps)
 
vec3 graphics::cross (const vec3 &a, const vec3 &b)