HologramDepthmap Library
Classes | Functions | Variables
graphics Namespace Reference

Classes

struct  ivec2
 structure for 2-dimensional integer vector and its arithmetic. More...
 
struct  ivec3
 structure for 3-dimensional integer vector and its arithmetic. More...
 
struct  ivec4
 structure for 4-dimensional integer vector and its arithmetic. More...
 
struct  vec2
 structure for 2-dimensional real type vector and its arithmetic. More...
 
struct  vec3
 structure for 3-dimensional real type vector and its arithmetic. More...
 
struct  vec4
 structure for 4-dimensional real type vector and its arithmetic. More...
 

Functions

void set_u_epsilon (real a)
 
void reset_u_epsilon ()
 
void set_zero_epsilon (real a)
 
void reset_zero_epsilon ()
 
int apx_equal (real x, real y)
 
int apx_equal (real x, real y, real eps)
 
ivec2 operator+ (const ivec2 &a, const ivec2 &b)
 
ivec2 operator+ (int a, const ivec2 &b)
 
ivec2 operator+ (const ivec2 &a, int b)
 
ivec2 operator- (const ivec2 &a, const ivec2 &b)
 
ivec2 operator- (int a, const ivec2 &b)
 
ivec2 operator- (const ivec2 &a, int b)
 
ivec2 operator* (const ivec2 &a, const ivec2 &b)
 
ivec2 operator* (int a, const ivec2 &b)
 
ivec2 operator* (const ivec2 &a, int b)
 
ivec2 operator+= (ivec2 &a, const ivec2 &b)
 
ivec2 operator+= (ivec2 &a, int b)
 
ivec2 operator-= (ivec2 &a, const ivec2 &b)
 
ivec2 operator-= (ivec2 &a, int b)
 
ivec2 operator*= (ivec2 &a, const ivec2 &b)
 
ivec2 operator*= (ivec2 &a, int b)
 
int operator== (const ivec2 &a, const ivec2 &b)
 
int operator== (int a, const ivec2 &b)
 
int operator== (const ivec2 &a, int b)
 
int operator< (const ivec2 &a, const ivec2 &b)
 
int operator< (int a, const ivec2 &b)
 
int operator< (const ivec2 &a, int b)
 
int operator<= (const ivec2 &a, const ivec2 &b)
 
int operator<= (int a, const ivec2 &b)
 
int operator<= (const ivec2 &a, int b)
 
int operator> (const ivec2 &a, const ivec2 &b)
 
int operator> (int a, const ivec2 &b)
 
int operator> (const ivec2 &a, int b)
 
int operator>= (const ivec2 &a, const ivec2 &b)
 
int operator>= (int a, const ivec2 &b)
 
int operator>= (const ivec2 &a, int b)
 
int operator!= (const ivec2 &a, const ivec2 &b)
 
ivec2 operator- (const ivec2 &a)
 
ivec3 operator+ (const ivec3 &a, const ivec3 &b)
 
ivec3 operator+ (int a, const ivec3 &b)
 
ivec3 operator+ (const ivec3 &a, int b)
 
ivec3 operator- (const ivec3 &a, const ivec3 &b)
 
ivec3 operator- (int a, const ivec3 &b)
 
ivec3 operator- (const ivec3 &a, int b)
 
ivec3 operator* (const ivec3 &a, const ivec3 &b)
 
ivec3 operator* (int a, const ivec3 &b)
 
ivec3 operator* (const ivec3 &a, int b)
 
ivec3 operator+= (ivec3 &a, const ivec3 &b)
 
ivec3 operator+= (ivec3 &a, int b)
 
ivec3 operator-= (ivec3 &a, const ivec3 &b)
 
ivec3 operator-= (ivec3 &a, int b)
 
ivec3 operator*= (ivec3 &a, const ivec3 &b)
 
ivec3 operator*= (ivec3 &a, int b)
 
int operator== (const ivec3 &a, const ivec3 &b)
 
int operator== (int a, const ivec3 &b)
 
int operator== (const ivec3 &a, int b)
 
int operator< (const ivec3 &a, const ivec3 &b)
 
int operator< (int a, const ivec3 &b)
 
int operator< (const ivec3 &a, int b)
 
int operator<= (const ivec3 &a, const ivec3 &b)
 
int operator<= (int a, const ivec3 &b)
 
int operator<= (const ivec3 &a, int b)
 
int operator> (const ivec3 &a, const ivec3 &b)
 
int operator> (int a, const ivec3 &b)
 
int operator> (const ivec3 &a, int b)
 
int operator>= (const ivec3 &a, const ivec3 &b)
 
int operator>= (int a, const ivec3 &b)
 
int operator>= (const ivec3 &a, int b)
 
int operator!= (const ivec3 &a, const ivec3 &b)
 
ivec3 operator- (const ivec3 &a)
 
ivec4 operator+ (const ivec4 &a, const ivec4 &b)
 
ivec4 operator+ (int a, const ivec4 &b)
 
ivec4 operator+ (const ivec4 &a, int b)
 
ivec4 operator- (const ivec4 &a, const ivec4 &b)
 
ivec4 operator- (int a, const ivec4 &b)
 
ivec4 operator- (const ivec4 &a, int b)
 
ivec4 operator* (const ivec4 &a, const ivec4 &b)
 
ivec4 operator* (int a, const ivec4 &b)
 
ivec4 operator* (const ivec4 &a, int b)
 
ivec4 operator+= (ivec4 &a, const ivec4 &b)
 
ivec4 operator+= (ivec4 &a, int b)
 
ivec4 operator-= (ivec4 &a, const ivec4 &b)
 
ivec4 operator-= (ivec4 &a, int b)
 
ivec4 operator*= (ivec4 &a, const ivec4 &b)
 
ivec4 operator*= (ivec4 &a, int b)
 
int operator== (const ivec4 &a, const ivec4 &b)
 
int operator== (int a, const ivec4 &b)
 
int operator== (const ivec4 &a, int b)
 
int operator< (const ivec4 &a, const ivec4 &b)
 
int operator< (int a, const ivec4 &b)
 
int operator< (const ivec4 &a, int b)
 
int operator<= (const ivec4 &a, const ivec4 &b)
 
int operator<= (int a, const ivec4 &b)
 
int operator<= (const ivec4 &a, int b)
 
int operator> (const ivec4 &a, const ivec4 &b)
 
int operator> (int a, const ivec4 &b)
 
int operator> (const ivec4 &a, int b)
 
int operator>= (const ivec4 &a, const ivec4 &b)
 
int operator!= (const ivec4 &a, const ivec4 &b)
 
int operator>= (int a, const ivec4 &b)
 
int operator>= (const ivec4 &a, int b)
 
ivec4 operator- (const ivec4 &a)
 
void store (FILE *fp, const vec2 &v)
 
int scan (FILE *fp, const vec2 &v)
 
int apx_equal (const vec2 &a, const vec2 &b)
 
int apx_equal (const vec2 &a, const vec2 &b, real eps)
 
void store (FILE *fp, const vec3 &v)
 
int scan (FILE *fp, const vec3 &v)
 
int apx_equal (const vec3 &a, const vec3 &b)
 
int apx_equal (const vec3 &a, const vec3 &b, real eps)
 
void store (FILE *fp, const vec4 &v)
 
int scan (FILE *fp, const vec4 &v)
 
int apx_equal (const vec4 &a, const vec4 &b)
 
int apx_equal (const vec4 &a, const vec4 &b, real eps)
 
vec3 cross (const vec3 &a, const vec3 &b)
 
vec2 operator+ (const vec2 &a, const vec2 &b)
 
vec2 operator+ (real a, const vec2 &b)
 
vec2 operator+ (const vec2 &a, real b)
 
vec2 operator- (const vec2 &a, const vec2 &b)
 
vec2 operator- (real a, const vec2 &b)
 
vec2 operator- (const vec2 &a, real b)
 
vec2 operator* (const vec2 &a, const vec2 &b)
 
vec2 operator* (real a, const vec2 &b)
 
vec2 operator* (const vec2 &a, real b)
 
vec2 operator/ (const vec2 &a, const vec2 &b)
 
vec2 operator/ (real a, const vec2 &b)
 
vec2 operator/ (const vec2 &a, real b)
 
vec2 operator+= (vec2 &a, const vec2 &b)
 
vec2 operator+= (vec2 &a, real b)
 
vec2 operator-= (vec2 &a, const vec2 &b)
 
vec2 operator-= (vec2 &a, real b)
 
vec2 operator*= (vec2 &a, const vec2 &b)
 
vec2 operator*= (vec2 &a, real b)
 
vec2 operator/= (vec2 &a, const vec2 &b)
 
vec2 operator/= (vec2 &a, real b)
 
int operator== (const vec2 &a, const vec2 &b)
 
int operator== (real a, const vec2 &b)
 
int operator== (const vec2 &a, real b)
 
int operator< (const vec2 &a, const vec2 &b)
 
int operator< (real a, const vec2 &b)
 
int operator< (const vec2 &a, real b)
 
int operator<= (const vec2 &a, const vec2 &b)
 
int operator<= (real a, const vec2 &b)
 
int operator<= (const vec2 &a, real b)
 
int operator> (const vec2 &a, const vec2 &b)
 
int operator> (real a, const vec2 &b)
 
int operator> (const vec2 &a, real b)
 
int operator>= (const vec2 &a, const vec2 &b)
 
int operator>= (real a, const vec2 &b)
 
int operator>= (const vec2 &a, real b)
 
vec2 operator- (const vec2 &a)
 
real sum (const vec2 &a)
 
real inner (const vec2 &a, const vec2 &b)
 
real norm (const vec2 &a)
 
real squaredNorm (const vec2 &a)
 
vec2 unit (const vec2 &a)
 
real angle (const vec2 &a, const vec2 &b)
 
vec2 proj (const vec2 &axis, const vec2 &a)
 
vec2 absolute (const vec2 &val)
 
vec3 operator+ (const vec3 &a, const vec3 &b)
 
vec3 operator+ (real a, const vec3 &b)
 
vec3 operator+ (const vec3 &a, real b)
 
vec3 operator- (const vec3 &a, const vec3 &b)
 
vec3 operator- (real a, const vec3 &b)
 
vec3 operator- (const vec3 &a, real b)
 
vec3 operator* (const vec3 &a, const vec3 &b)
 
vec3 operator* (real a, const vec3 &b)
 
vec3 operator* (const vec3 &a, real b)
 
vec3 operator/ (const vec3 &a, const vec3 &b)
 
vec3 operator/ (real a, const vec3 &b)
 
vec3 operator/ (const vec3 &a, real b)
 
vec3 operator+= (vec3 &a, const vec3 &b)
 
vec3 operator+= (vec3 &a, real b)
 
vec3 operator-= (vec3 &a, const vec3 &b)
 
vec3 operator-= (vec3 &a, real b)
 
vec3 operator*= (vec3 &a, const vec3 &b)
 
vec3 operator*= (vec3 &a, real b)
 
vec3 operator/= (vec3 &a, const vec3 &b)
 
vec3 operator/= (vec3 &a, real b)
 
int operator== (const vec3 &a, const vec3 &b)
 
int operator== (real a, const vec3 &b)
 
int operator== (const vec3 &a, real b)
 
int operator< (const vec3 &a, const vec3 &b)
 
int operator< (real a, const vec3 &b)
 
int operator< (const vec3 &a, real b)
 
int operator<= (const vec3 &a, const vec3 &b)
 
int operator<= (real a, const vec3 &b)
 
int operator<= (const vec3 &a, real b)
 
int operator> (const vec3 &a, const vec3 &b)
 
int operator> (real a, const vec3 &b)
 
int operator> (const vec3 &a, real b)
 
int operator>= (const vec3 &a, const vec3 &b)
 
int operator>= (real a, const vec3 &b)
 
int operator>= (const vec3 &a, real b)
 
vec3 operator- (const vec3 &a)
 
vec3 absolute (const vec3 &val)
 
real sum (const vec3 &a)
 
real inner (const vec3 &a, const vec3 &b)
 
real squaredNorm (const vec3 &a)
 
real norm (const vec3 &a)
 
vec3 unit (const vec3 &a)
 
real angle (const vec3 &a, const vec3 &b)
 
vec3 proj (const vec3 &axis, const vec3 &a)
 
vec4 operator+ (const vec4 &a, const vec4 &b)
 
vec4 operator+ (real a, const vec4 &b)
 
vec4 operator+ (const vec4 &a, real b)
 
vec4 operator- (const vec4 &a, const vec4 &b)
 
vec4 operator- (real a, const vec4 &b)
 
vec4 operator- (const vec4 &a, real b)
 
vec4 operator* (const vec4 &a, const vec4 &b)
 
vec4 operator* (real a, const vec4 &b)
 
vec4 operator* (const vec4 &a, real b)
 
vec4 operator/ (const vec4 &a, const vec4 &b)
 
vec4 operator/ (real a, const vec4 &b)
 
vec4 operator/ (const vec4 &a, real b)
 
vec4 operator+= (vec4 &a, const vec4 &b)
 
vec4 operator+= (vec4 &a, real b)
 
vec4 operator-= (vec4 &a, const vec4 &b)
 
vec4 operator-= (vec4 &a, real b)
 
vec4 operator*= (vec4 &a, const vec4 &b)
 
vec4 operator*= (vec4 &a, real b)
 
vec4 operator/= (vec4 &a, const vec4 &b)
 
vec4 operator/= (vec4 &a, real b)
 
int operator== (const vec4 &a, const vec4 &b)
 
int operator== (real a, const vec4 &b)
 
int operator== (const vec4 &a, real b)
 
int operator< (const vec4 &a, const vec4 &b)
 
int operator< (real a, const vec4 &b)
 
int operator< (const vec4 &a, real b)
 
int operator<= (const vec4 &a, const vec4 &b)
 
int operator<= (real a, const vec4 &b)
 
int operator<= (const vec4 &a, real b)
 
int operator> (const vec4 &a, const vec4 &b)
 
int operator> (real a, const vec4 &b)
 
int operator> (const vec4 &a, real b)
 
int operator>= (const vec4 &a, const vec4 &b)
 
int operator>= (real a, const vec4 &b)
 
int operator>= (const vec4 &a, real b)
 
vec4 operator- (const vec4 &a)
 
vec4 absolute (const vec4 &val)
 
real sum (const vec4 &a)
 
real inner (const vec4 &a, const vec4 &b)
 
real squaredNorm (const vec4 &a)
 
real norm (const vec4 &a)
 
vec4 unit (const vec4 &a)
 
real angle (const vec4 &a, const vec4 &b)
 
vec4 proj (const vec4 &axis, const vec4 &a)
 

Variables

real epsilon = 1.0e-8
 
real user_epsilon = 1.0e-8
 
real intersection_epsilon = 1e-6
 
real sqrt_epsilon = 1.490116119385000000e-8
 
real unset_value = -1.23432101234321e+308
 
real zero_tolerance = 1.0e-12
 
real angle_tolerance = M_PI/180.0
 
real zero_epsilon = 1.0e-12
 
real save_zero_epsilon = 1.0e-12
 

Function Documentation

◆ absolute() [1/3]

vec2 graphics::absolute ( const vec2 val)
inline

Definition at line 429 of file vec.h.

◆ absolute() [2/3]

vec3 graphics::absolute ( const vec3 val)
inline

Definition at line 793 of file vec.h.

◆ absolute() [3/3]

vec4 graphics::absolute ( const vec4 val)
inline

Definition at line 1185 of file vec.h.

◆ angle() [1/3]

real graphics::angle ( const vec2 a,
const vec2 b 
)
inline

Definition at line 412 of file vec.h.

◆ angle() [2/3]

real graphics::angle ( const vec3 a,
const vec3 b 
)
inline

Definition at line 838 of file vec.h.

◆ angle() [3/3]

real graphics::angle ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1229 of file vec.h.

◆ apx_equal() [1/8]

int graphics::apx_equal ( real  x,
real  y 
)

Definition at line 45 of file epsilon.cpp.

◆ apx_equal() [2/8]

int graphics::apx_equal ( real  x,
real  y,
real  eps 
)

Definition at line 61 of file epsilon.cpp.

◆ apx_equal() [3/8]

int graphics::apx_equal ( const vec2 a,
const vec2 b 
)

Definition at line 101 of file vec.cpp.

◆ apx_equal() [4/8]

int graphics::apx_equal ( const vec2 a,
const vec2 b,
real  eps 
)

Definition at line 112 of file vec.cpp.

◆ apx_equal() [5/8]

int graphics::apx_equal ( const vec3 a,
const vec3 b 
)

Definition at line 318 of file vec.cpp.

◆ apx_equal() [6/8]

int graphics::apx_equal ( const vec3 a,
const vec3 b,
real  eps 
)

Definition at line 329 of file vec.cpp.

◆ apx_equal() [7/8]

int graphics::apx_equal ( const vec4 a,
const vec4 b 
)

Definition at line 377 of file vec.cpp.

◆ apx_equal() [8/8]

int graphics::apx_equal ( const vec4 a,
const vec4 b,
real  eps 
)

Definition at line 388 of file vec.cpp.

◆ cross()

vec3 graphics::cross ( const vec3 a,
const vec3 b 
)

Definition at line 399 of file vec.cpp.

◆ inner() [1/3]

real graphics::inner ( const vec2 a,
const vec2 b 
)
inline

Definition at line 388 of file vec.h.

◆ inner() [2/3]

real graphics::inner ( const vec3 a,
const vec3 b 
)
inline

Definition at line 814 of file vec.h.

◆ inner() [3/3]

real graphics::inner ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1207 of file vec.h.

◆ norm() [1/3]

real graphics::norm ( const vec2 a)
inline

Definition at line 394 of file vec.h.

◆ norm() [2/3]

real graphics::norm ( const vec3 a)
inline

Definition at line 824 of file vec.h.

◆ norm() [3/3]

real graphics::norm ( const vec4 a)
inline

Definition at line 1215 of file vec.h.

◆ operator!=() [1/3]

int graphics::operator!= ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 313 of file ivec.h.

◆ operator!=() [2/3]

int graphics::operator!= ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 625 of file ivec.h.

◆ operator!=() [3/3]

int graphics::operator!= ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 928 of file ivec.h.

◆ operator*() [1/18]

ivec2 graphics::operator* ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 100 of file ivec.h.

◆ operator*() [2/18]

ivec2 graphics::operator* ( int  a,
const ivec2 b 
)
inline

Definition at line 107 of file ivec.h.

◆ operator*() [3/18]

ivec2 graphics::operator* ( const ivec2 a,
int  b 
)
inline

Definition at line 114 of file ivec.h.

◆ operator*() [4/18]

vec2 graphics::operator* ( const vec2 a,
const vec2 b 
)
inline

Definition at line 153 of file vec.h.

◆ operator*() [5/18]

vec2 graphics::operator* ( real  a,
const vec2 b 
)
inline

Definition at line 160 of file vec.h.

◆ operator*() [6/18]

vec2 graphics::operator* ( const vec2 a,
real  b 
)
inline

Definition at line 167 of file vec.h.

◆ operator*() [7/18]

ivec3 graphics::operator* ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 412 of file ivec.h.

◆ operator*() [8/18]

ivec3 graphics::operator* ( int  a,
const ivec3 b 
)
inline

Definition at line 419 of file ivec.h.

◆ operator*() [9/18]

ivec3 graphics::operator* ( const ivec3 a,
int  b 
)
inline

Definition at line 426 of file ivec.h.

◆ operator*() [10/18]

vec3 graphics::operator* ( const vec3 a,
const vec3 b 
)
inline

Definition at line 572 of file vec.h.

◆ operator*() [11/18]

vec3 graphics::operator* ( real  a,
const vec3 b 
)
inline

Definition at line 579 of file vec.h.

◆ operator*() [12/18]

vec3 graphics::operator* ( const vec3 a,
real  b 
)
inline

Definition at line 586 of file vec.h.

◆ operator*() [13/18]

ivec4 graphics::operator* ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 729 of file ivec.h.

◆ operator*() [14/18]

ivec4 graphics::operator* ( int  a,
const ivec4 b 
)
inline

Definition at line 736 of file ivec.h.

◆ operator*() [15/18]

ivec4 graphics::operator* ( const ivec4 a,
int  b 
)
inline

Definition at line 743 of file ivec.h.

◆ operator*() [16/18]

vec4 graphics::operator* ( const vec4 a,
const vec4 b 
)
inline

Definition at line 962 of file vec.h.

◆ operator*() [17/18]

vec4 graphics::operator* ( real  a,
const vec4 b 
)
inline

Definition at line 969 of file vec.h.

◆ operator*() [18/18]

vec4 graphics::operator* ( const vec4 a,
real  b 
)
inline

Definition at line 976 of file vec.h.

◆ operator*=() [1/12]

ivec2 graphics::operator*= ( ivec2 a,
const ivec2 b 
)
inline

Definition at line 173 of file ivec.h.

◆ operator*=() [2/12]

ivec2 graphics::operator*= ( ivec2 a,
int  b 
)
inline

Definition at line 178 of file ivec.h.

◆ operator*=() [3/12]

vec2 graphics::operator*= ( vec2 a,
const vec2 b 
)
inline

Definition at line 226 of file vec.h.

◆ operator*=() [4/12]

vec2 graphics::operator*= ( vec2 a,
real  b 
)
inline

Definition at line 231 of file vec.h.

◆ operator*=() [5/12]

ivec3 graphics::operator*= ( ivec3 a,
const ivec3 b 
)
inline

Definition at line 485 of file ivec.h.

◆ operator*=() [6/12]

ivec3 graphics::operator*= ( ivec3 a,
int  b 
)
inline

Definition at line 490 of file ivec.h.

◆ operator*=() [7/12]

vec3 graphics::operator*= ( vec3 a,
const vec3 b 
)
inline

Definition at line 643 of file vec.h.

◆ operator*=() [8/12]

vec3 graphics::operator*= ( vec3 a,
real  b 
)
inline

Definition at line 648 of file vec.h.

◆ operator*=() [9/12]

ivec4 graphics::operator*= ( ivec4 a,
const ivec4 b 
)
inline

Definition at line 802 of file ivec.h.

◆ operator*=() [10/12]

ivec4 graphics::operator*= ( ivec4 a,
int  b 
)
inline

Definition at line 807 of file ivec.h.

◆ operator*=() [11/12]

vec4 graphics::operator*= ( vec4 a,
const vec4 b 
)
inline

Definition at line 1035 of file vec.h.

◆ operator*=() [12/12]

vec4 graphics::operator*= ( vec4 a,
real  b 
)
inline

Definition at line 1040 of file vec.h.

◆ operator+() [1/18]

ivec2 graphics::operator+ ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 54 of file ivec.h.

◆ operator+() [2/18]

ivec2 graphics::operator+ ( int  a,
const ivec2 b 
)
inline

Definition at line 61 of file ivec.h.

◆ operator+() [3/18]

ivec2 graphics::operator+ ( const ivec2 a,
int  b 
)
inline

Definition at line 68 of file ivec.h.

◆ operator+() [4/18]

vec2 graphics::operator+ ( const vec2 a,
const vec2 b 
)
inline

Definition at line 107 of file vec.h.

◆ operator+() [5/18]

vec2 graphics::operator+ ( real  a,
const vec2 b 
)
inline

Definition at line 114 of file vec.h.

◆ operator+() [6/18]

vec2 graphics::operator+ ( const vec2 a,
real  b 
)
inline

Definition at line 121 of file vec.h.

◆ operator+() [7/18]

ivec3 graphics::operator+ ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 366 of file ivec.h.

◆ operator+() [8/18]

ivec3 graphics::operator+ ( int  a,
const ivec3 b 
)
inline

Definition at line 373 of file ivec.h.

◆ operator+() [9/18]

ivec3 graphics::operator+ ( const ivec3 a,
int  b 
)
inline

Definition at line 380 of file ivec.h.

◆ operator+() [10/18]

vec3 graphics::operator+ ( const vec3 a,
const vec3 b 
)
inline

Definition at line 526 of file vec.h.

◆ operator+() [11/18]

vec3 graphics::operator+ ( real  a,
const vec3 b 
)
inline

Definition at line 533 of file vec.h.

◆ operator+() [12/18]

vec3 graphics::operator+ ( const vec3 a,
real  b 
)
inline

Definition at line 540 of file vec.h.

◆ operator+() [13/18]

ivec4 graphics::operator+ ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 683 of file ivec.h.

◆ operator+() [14/18]

ivec4 graphics::operator+ ( int  a,
const ivec4 b 
)
inline

Definition at line 690 of file ivec.h.

◆ operator+() [15/18]

ivec4 graphics::operator+ ( const ivec4 a,
int  b 
)
inline

Definition at line 697 of file ivec.h.

◆ operator+() [16/18]

vec4 graphics::operator+ ( const vec4 a,
const vec4 b 
)
inline

Definition at line 916 of file vec.h.

◆ operator+() [17/18]

vec4 graphics::operator+ ( real  a,
const vec4 b 
)
inline

Definition at line 923 of file vec.h.

◆ operator+() [18/18]

vec4 graphics::operator+ ( const vec4 a,
real  b 
)
inline

Definition at line 930 of file vec.h.

◆ operator+=() [1/12]

ivec2 graphics::operator+= ( ivec2 a,
const ivec2 b 
)
inline

Definition at line 149 of file ivec.h.

◆ operator+=() [2/12]

ivec2 graphics::operator+= ( ivec2 a,
int  b 
)
inline

Definition at line 154 of file ivec.h.

◆ operator+=() [3/12]

vec2 graphics::operator+= ( vec2 a,
const vec2 b 
)
inline

Definition at line 202 of file vec.h.

◆ operator+=() [4/12]

vec2 graphics::operator+= ( vec2 a,
real  b 
)
inline

Definition at line 207 of file vec.h.

◆ operator+=() [5/12]

ivec3 graphics::operator+= ( ivec3 a,
const ivec3 b 
)
inline

Definition at line 461 of file ivec.h.

◆ operator+=() [6/12]

ivec3 graphics::operator+= ( ivec3 a,
int  b 
)
inline

Definition at line 466 of file ivec.h.

◆ operator+=() [7/12]

vec3 graphics::operator+= ( vec3 a,
const vec3 b 
)
inline

Definition at line 619 of file vec.h.

◆ operator+=() [8/12]

vec3 graphics::operator+= ( vec3 a,
real  b 
)
inline

Definition at line 624 of file vec.h.

◆ operator+=() [9/12]

ivec4 graphics::operator+= ( ivec4 a,
const ivec4 b 
)
inline

Definition at line 778 of file ivec.h.

◆ operator+=() [10/12]

ivec4 graphics::operator+= ( ivec4 a,
int  b 
)
inline

Definition at line 783 of file ivec.h.

◆ operator+=() [11/12]

vec4 graphics::operator+= ( vec4 a,
const vec4 b 
)
inline

Definition at line 1011 of file vec.h.

◆ operator+=() [12/12]

vec4 graphics::operator+= ( vec4 a,
real  b 
)
inline

Definition at line 1016 of file vec.h.

◆ operator-() [1/24]

ivec2 graphics::operator- ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 77 of file ivec.h.

◆ operator-() [2/24]

ivec2 graphics::operator- ( int  a,
const ivec2 b 
)
inline

Definition at line 84 of file ivec.h.

◆ operator-() [3/24]

ivec2 graphics::operator- ( const ivec2 a,
int  b 
)
inline

Definition at line 91 of file ivec.h.

◆ operator-() [4/24]

vec2 graphics::operator- ( const vec2 a,
const vec2 b 
)
inline

Definition at line 130 of file vec.h.

◆ operator-() [5/24]

vec2 graphics::operator- ( real  a,
const vec2 b 
)
inline

Definition at line 137 of file vec.h.

◆ operator-() [6/24]

vec2 graphics::operator- ( const vec2 a,
real  b 
)
inline

Definition at line 144 of file vec.h.

◆ operator-() [7/24]

ivec2 graphics::operator- ( const ivec2 a)
inline

Definition at line 321 of file ivec.h.

◆ operator-() [8/24]

vec2 graphics::operator- ( const vec2 a)
inline

Definition at line 369 of file vec.h.

◆ operator-() [9/24]

ivec3 graphics::operator- ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 389 of file ivec.h.

◆ operator-() [10/24]

ivec3 graphics::operator- ( int  a,
const ivec3 b 
)
inline

Definition at line 396 of file ivec.h.

◆ operator-() [11/24]

ivec3 graphics::operator- ( const ivec3 a,
int  b 
)
inline

Definition at line 403 of file ivec.h.

◆ operator-() [12/24]

vec3 graphics::operator- ( const vec3 a,
const vec3 b 
)
inline

Definition at line 549 of file vec.h.

◆ operator-() [13/24]

vec3 graphics::operator- ( real  a,
const vec3 b 
)
inline

Definition at line 556 of file vec.h.

◆ operator-() [14/24]

vec3 graphics::operator- ( const vec3 a,
real  b 
)
inline

Definition at line 563 of file vec.h.

◆ operator-() [15/24]

ivec3 graphics::operator- ( const ivec3 a)
inline

Definition at line 633 of file ivec.h.

◆ operator-() [16/24]

ivec4 graphics::operator- ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 706 of file ivec.h.

◆ operator-() [17/24]

ivec4 graphics::operator- ( int  a,
const ivec4 b 
)
inline

Definition at line 713 of file ivec.h.

◆ operator-() [18/24]

ivec4 graphics::operator- ( const ivec4 a,
int  b 
)
inline

Definition at line 720 of file ivec.h.

◆ operator-() [19/24]

vec3 graphics::operator- ( const vec3 a)
inline

Definition at line 786 of file vec.h.

◆ operator-() [20/24]

vec4 graphics::operator- ( const vec4 a,
const vec4 b 
)
inline

Definition at line 939 of file vec.h.

◆ operator-() [21/24]

vec4 graphics::operator- ( real  a,
const vec4 b 
)
inline

Definition at line 946 of file vec.h.

◆ operator-() [22/24]

ivec4 graphics::operator- ( const ivec4 a)
inline

Definition at line 952 of file ivec.h.

◆ operator-() [23/24]

vec4 graphics::operator- ( const vec4 a,
real  b 
)
inline

Definition at line 953 of file vec.h.

◆ operator-() [24/24]

vec4 graphics::operator- ( const vec4 a)
inline

Definition at line 1178 of file vec.h.

◆ operator-=() [1/12]

ivec2 graphics::operator-= ( ivec2 a,
const ivec2 b 
)
inline

Definition at line 161 of file ivec.h.

◆ operator-=() [2/12]

ivec2 graphics::operator-= ( ivec2 a,
int  b 
)
inline

Definition at line 166 of file ivec.h.

◆ operator-=() [3/12]

vec2 graphics::operator-= ( vec2 a,
const vec2 b 
)
inline

Definition at line 214 of file vec.h.

◆ operator-=() [4/12]

vec2 graphics::operator-= ( vec2 a,
real  b 
)
inline

Definition at line 219 of file vec.h.

◆ operator-=() [5/12]

ivec3 graphics::operator-= ( ivec3 a,
const ivec3 b 
)
inline

Definition at line 473 of file ivec.h.

◆ operator-=() [6/12]

ivec3 graphics::operator-= ( ivec3 a,
int  b 
)
inline

Definition at line 478 of file ivec.h.

◆ operator-=() [7/12]

vec3 graphics::operator-= ( vec3 a,
const vec3 b 
)
inline

Definition at line 631 of file vec.h.

◆ operator-=() [8/12]

vec3 graphics::operator-= ( vec3 a,
real  b 
)
inline

Definition at line 636 of file vec.h.

◆ operator-=() [9/12]

ivec4 graphics::operator-= ( ivec4 a,
const ivec4 b 
)
inline

Definition at line 790 of file ivec.h.

◆ operator-=() [10/12]

ivec4 graphics::operator-= ( ivec4 a,
int  b 
)
inline

Definition at line 795 of file ivec.h.

◆ operator-=() [11/12]

vec4 graphics::operator-= ( vec4 a,
const vec4 b 
)
inline

Definition at line 1023 of file vec.h.

◆ operator-=() [12/12]

vec4 graphics::operator-= ( vec4 a,
real  b 
)
inline

Definition at line 1028 of file vec.h.

◆ operator/() [1/9]

vec2 graphics::operator/ ( const vec2 a,
const vec2 b 
)
inline

Definition at line 176 of file vec.h.

◆ operator/() [2/9]

vec2 graphics::operator/ ( real  a,
const vec2 b 
)
inline

Definition at line 183 of file vec.h.

◆ operator/() [3/9]

vec2 graphics::operator/ ( const vec2 a,
real  b 
)
inline

Definition at line 190 of file vec.h.

◆ operator/() [4/9]

vec3 graphics::operator/ ( const vec3 a,
const vec3 b 
)
inline

Definition at line 595 of file vec.h.

◆ operator/() [5/9]

vec3 graphics::operator/ ( real  a,
const vec3 b 
)
inline

Definition at line 602 of file vec.h.

◆ operator/() [6/9]

vec3 graphics::operator/ ( const vec3 a,
real  b 
)
inline

Definition at line 609 of file vec.h.

◆ operator/() [7/9]

vec4 graphics::operator/ ( const vec4 a,
const vec4 b 
)
inline

Definition at line 985 of file vec.h.

◆ operator/() [8/9]

vec4 graphics::operator/ ( real  a,
const vec4 b 
)
inline

Definition at line 992 of file vec.h.

◆ operator/() [9/9]

vec4 graphics::operator/ ( const vec4 a,
real  b 
)
inline

Definition at line 999 of file vec.h.

◆ operator/=() [1/6]

vec2 graphics::operator/= ( vec2 a,
const vec2 b 
)
inline

Definition at line 238 of file vec.h.

◆ operator/=() [2/6]

vec2 graphics::operator/= ( vec2 a,
real  b 
)
inline

Definition at line 243 of file vec.h.

◆ operator/=() [3/6]

vec3 graphics::operator/= ( vec3 a,
const vec3 b 
)
inline

Definition at line 655 of file vec.h.

◆ operator/=() [4/6]

vec3 graphics::operator/= ( vec3 a,
real  b 
)
inline

Definition at line 660 of file vec.h.

◆ operator/=() [5/6]

vec4 graphics::operator/= ( vec4 a,
const vec4 b 
)
inline

Definition at line 1047 of file vec.h.

◆ operator/=() [6/6]

vec4 graphics::operator/= ( vec4 a,
real  b 
)
inline

Definition at line 1052 of file vec.h.

◆ operator<() [1/18]

int graphics::operator< ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 223 of file ivec.h.

◆ operator<() [2/18]

int graphics::operator< ( int  a,
const ivec2 b 
)
inline

Definition at line 230 of file ivec.h.

◆ operator<() [3/18]

int graphics::operator< ( const ivec2 a,
int  b 
)
inline

Definition at line 237 of file ivec.h.

◆ operator<() [4/18]

int graphics::operator< ( const vec2 a,
const vec2 b 
)
inline

Definition at line 276 of file vec.h.

◆ operator<() [5/18]

int graphics::operator< ( real  a,
const vec2 b 
)
inline

Definition at line 283 of file vec.h.

◆ operator<() [6/18]

int graphics::operator< ( const vec2 a,
real  b 
)
inline

Definition at line 290 of file vec.h.

◆ operator<() [7/18]

int graphics::operator< ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 535 of file ivec.h.

◆ operator<() [8/18]

int graphics::operator< ( int  a,
const ivec3 b 
)
inline

Definition at line 542 of file ivec.h.

◆ operator<() [9/18]

int graphics::operator< ( const ivec3 a,
int  b 
)
inline

Definition at line 549 of file ivec.h.

◆ operator<() [10/18]

int graphics::operator< ( const vec3 a,
const vec3 b 
)
inline

Definition at line 693 of file vec.h.

◆ operator<() [11/18]

int graphics::operator< ( real  a,
const vec3 b 
)
inline

Definition at line 700 of file vec.h.

◆ operator<() [12/18]

int graphics::operator< ( const vec3 a,
real  b 
)
inline

Definition at line 707 of file vec.h.

◆ operator<() [13/18]

int graphics::operator< ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 852 of file ivec.h.

◆ operator<() [14/18]

int graphics::operator< ( int  a,
const ivec4 b 
)
inline

Definition at line 859 of file ivec.h.

◆ operator<() [15/18]

int graphics::operator< ( const ivec4 a,
int  b 
)
inline

Definition at line 866 of file ivec.h.

◆ operator<() [16/18]

int graphics::operator< ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1085 of file vec.h.

◆ operator<() [17/18]

int graphics::operator< ( real  a,
const vec4 b 
)
inline

Definition at line 1092 of file vec.h.

◆ operator<() [18/18]

int graphics::operator< ( const vec4 a,
real  b 
)
inline

Definition at line 1099 of file vec.h.

◆ operator<=() [1/18]

int graphics::operator<= ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 246 of file ivec.h.

◆ operator<=() [2/18]

int graphics::operator<= ( int  a,
const ivec2 b 
)
inline

Definition at line 253 of file ivec.h.

◆ operator<=() [3/18]

int graphics::operator<= ( const ivec2 a,
int  b 
)
inline

Definition at line 260 of file ivec.h.

◆ operator<=() [4/18]

int graphics::operator<= ( const vec2 a,
const vec2 b 
)
inline

Definition at line 299 of file vec.h.

◆ operator<=() [5/18]

int graphics::operator<= ( real  a,
const vec2 b 
)
inline

Definition at line 306 of file vec.h.

◆ operator<=() [6/18]

int graphics::operator<= ( const vec2 a,
real  b 
)
inline

Definition at line 313 of file vec.h.

◆ operator<=() [7/18]

int graphics::operator<= ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 558 of file ivec.h.

◆ operator<=() [8/18]

int graphics::operator<= ( int  a,
const ivec3 b 
)
inline

Definition at line 565 of file ivec.h.

◆ operator<=() [9/18]

int graphics::operator<= ( const ivec3 a,
int  b 
)
inline

Definition at line 572 of file ivec.h.

◆ operator<=() [10/18]

int graphics::operator<= ( const vec3 a,
const vec3 b 
)
inline

Definition at line 716 of file vec.h.

◆ operator<=() [11/18]

int graphics::operator<= ( real  a,
const vec3 b 
)
inline

Definition at line 723 of file vec.h.

◆ operator<=() [12/18]

int graphics::operator<= ( const vec3 a,
real  b 
)
inline

Definition at line 730 of file vec.h.

◆ operator<=() [13/18]

int graphics::operator<= ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 875 of file ivec.h.

◆ operator<=() [14/18]

int graphics::operator<= ( int  a,
const ivec4 b 
)
inline

Definition at line 882 of file ivec.h.

◆ operator<=() [15/18]

int graphics::operator<= ( const ivec4 a,
int  b 
)
inline

Definition at line 889 of file ivec.h.

◆ operator<=() [16/18]

int graphics::operator<= ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1108 of file vec.h.

◆ operator<=() [17/18]

int graphics::operator<= ( real  a,
const vec4 b 
)
inline

Definition at line 1115 of file vec.h.

◆ operator<=() [18/18]

int graphics::operator<= ( const vec4 a,
real  b 
)
inline

Definition at line 1122 of file vec.h.

◆ operator==() [1/18]

int graphics::operator== ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 200 of file ivec.h.

◆ operator==() [2/18]

int graphics::operator== ( int  a,
const ivec2 b 
)
inline

Definition at line 207 of file ivec.h.

◆ operator==() [3/18]

int graphics::operator== ( const ivec2 a,
int  b 
)
inline

Definition at line 214 of file ivec.h.

◆ operator==() [4/18]

int graphics::operator== ( const vec2 a,
const vec2 b 
)
inline

Definition at line 253 of file vec.h.

◆ operator==() [5/18]

int graphics::operator== ( real  a,
const vec2 b 
)
inline

Definition at line 260 of file vec.h.

◆ operator==() [6/18]

int graphics::operator== ( const vec2 a,
real  b 
)
inline

Definition at line 267 of file vec.h.

◆ operator==() [7/18]

int graphics::operator== ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 512 of file ivec.h.

◆ operator==() [8/18]

int graphics::operator== ( int  a,
const ivec3 b 
)
inline

Definition at line 519 of file ivec.h.

◆ operator==() [9/18]

int graphics::operator== ( const ivec3 a,
int  b 
)
inline

Definition at line 526 of file ivec.h.

◆ operator==() [10/18]

int graphics::operator== ( const vec3 a,
const vec3 b 
)
inline

Definition at line 670 of file vec.h.

◆ operator==() [11/18]

int graphics::operator== ( real  a,
const vec3 b 
)
inline

Definition at line 677 of file vec.h.

◆ operator==() [12/18]

int graphics::operator== ( const vec3 a,
real  b 
)
inline

Definition at line 684 of file vec.h.

◆ operator==() [13/18]

int graphics::operator== ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 829 of file ivec.h.

◆ operator==() [14/18]

int graphics::operator== ( int  a,
const ivec4 b 
)
inline

Definition at line 836 of file ivec.h.

◆ operator==() [15/18]

int graphics::operator== ( const ivec4 a,
int  b 
)
inline

Definition at line 843 of file ivec.h.

◆ operator==() [16/18]

int graphics::operator== ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1062 of file vec.h.

◆ operator==() [17/18]

int graphics::operator== ( real  a,
const vec4 b 
)
inline

Definition at line 1069 of file vec.h.

◆ operator==() [18/18]

int graphics::operator== ( const vec4 a,
real  b 
)
inline

Definition at line 1076 of file vec.h.

◆ operator>() [1/18]

int graphics::operator> ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 269 of file ivec.h.

◆ operator>() [2/18]

int graphics::operator> ( int  a,
const ivec2 b 
)
inline

Definition at line 276 of file ivec.h.

◆ operator>() [3/18]

int graphics::operator> ( const ivec2 a,
int  b 
)
inline

Definition at line 283 of file ivec.h.

◆ operator>() [4/18]

int graphics::operator> ( const vec2 a,
const vec2 b 
)
inline

Definition at line 322 of file vec.h.

◆ operator>() [5/18]

int graphics::operator> ( real  a,
const vec2 b 
)
inline

Definition at line 329 of file vec.h.

◆ operator>() [6/18]

int graphics::operator> ( const vec2 a,
real  b 
)
inline

Definition at line 336 of file vec.h.

◆ operator>() [7/18]

int graphics::operator> ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 581 of file ivec.h.

◆ operator>() [8/18]

int graphics::operator> ( int  a,
const ivec3 b 
)
inline

Definition at line 588 of file ivec.h.

◆ operator>() [9/18]

int graphics::operator> ( const ivec3 a,
int  b 
)
inline

Definition at line 595 of file ivec.h.

◆ operator>() [10/18]

int graphics::operator> ( const vec3 a,
const vec3 b 
)
inline

Definition at line 739 of file vec.h.

◆ operator>() [11/18]

int graphics::operator> ( real  a,
const vec3 b 
)
inline

Definition at line 746 of file vec.h.

◆ operator>() [12/18]

int graphics::operator> ( const vec3 a,
real  b 
)
inline

Definition at line 753 of file vec.h.

◆ operator>() [13/18]

int graphics::operator> ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 898 of file ivec.h.

◆ operator>() [14/18]

int graphics::operator> ( int  a,
const ivec4 b 
)
inline

Definition at line 905 of file ivec.h.

◆ operator>() [15/18]

int graphics::operator> ( const ivec4 a,
int  b 
)
inline

Definition at line 912 of file ivec.h.

◆ operator>() [16/18]

int graphics::operator> ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1131 of file vec.h.

◆ operator>() [17/18]

int graphics::operator> ( real  a,
const vec4 b 
)
inline

Definition at line 1138 of file vec.h.

◆ operator>() [18/18]

int graphics::operator> ( const vec4 a,
real  b 
)
inline

Definition at line 1145 of file vec.h.

◆ operator>=() [1/18]

int graphics::operator>= ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 293 of file ivec.h.

◆ operator>=() [2/18]

int graphics::operator>= ( int  a,
const ivec2 b 
)
inline

Definition at line 299 of file ivec.h.

◆ operator>=() [3/18]

int graphics::operator>= ( const ivec2 a,
int  b 
)
inline

Definition at line 306 of file ivec.h.

◆ operator>=() [4/18]

int graphics::operator>= ( const vec2 a,
const vec2 b 
)
inline

Definition at line 345 of file vec.h.

◆ operator>=() [5/18]

int graphics::operator>= ( real  a,
const vec2 b 
)
inline

Definition at line 352 of file vec.h.

◆ operator>=() [6/18]

int graphics::operator>= ( const vec2 a,
real  b 
)
inline

Definition at line 359 of file vec.h.

◆ operator>=() [7/18]

int graphics::operator>= ( const ivec3 a,
const ivec3 b 
)
inline

Definition at line 604 of file ivec.h.

◆ operator>=() [8/18]

int graphics::operator>= ( int  a,
const ivec3 b 
)
inline

Definition at line 611 of file ivec.h.

◆ operator>=() [9/18]

int graphics::operator>= ( const ivec3 a,
int  b 
)
inline

Definition at line 618 of file ivec.h.

◆ operator>=() [10/18]

int graphics::operator>= ( const vec3 a,
const vec3 b 
)
inline

Definition at line 762 of file vec.h.

◆ operator>=() [11/18]

int graphics::operator>= ( real  a,
const vec3 b 
)
inline

Definition at line 769 of file vec.h.

◆ operator>=() [12/18]

int graphics::operator>= ( const vec3 a,
real  b 
)
inline

Definition at line 776 of file vec.h.

◆ operator>=() [13/18]

int graphics::operator>= ( const ivec4 a,
const ivec4 b 
)
inline

Definition at line 921 of file ivec.h.

◆ operator>=() [14/18]

int graphics::operator>= ( int  a,
const ivec4 b 
)
inline

Definition at line 935 of file ivec.h.

◆ operator>=() [15/18]

int graphics::operator>= ( const ivec4 a,
int  b 
)
inline

Definition at line 942 of file ivec.h.

◆ operator>=() [16/18]

int graphics::operator>= ( const vec4 a,
const vec4 b 
)
inline

Definition at line 1154 of file vec.h.

◆ operator>=() [17/18]

int graphics::operator>= ( real  a,
const vec4 b 
)
inline

Definition at line 1161 of file vec.h.

◆ operator>=() [18/18]

int graphics::operator>= ( const vec4 a,
real  b 
)
inline

Definition at line 1168 of file vec.h.

◆ proj() [1/3]

vec2 graphics::proj ( const vec2 axis,
const vec2 a 
)
inline

Definition at line 423 of file vec.h.

◆ proj() [2/3]

vec3 graphics::proj ( const vec3 axis,
const vec3 a 
)
inline

Definition at line 849 of file vec.h.

◆ proj() [3/3]

vec4 graphics::proj ( const vec4 axis,
const vec4 a 
)
inline

Definition at line 1240 of file vec.h.

◆ reset_u_epsilon()

void graphics::reset_u_epsilon ( )

Definition at line 27 of file epsilon.cpp.

◆ reset_zero_epsilon()

void graphics::reset_zero_epsilon ( )

Definition at line 37 of file epsilon.cpp.

◆ scan() [1/3]

int graphics::scan ( FILE *  fp,
const vec2 v 
)

Definition at line 91 of file vec.cpp.

◆ scan() [2/3]

int graphics::scan ( FILE *  fp,
const vec3 v 
)

Definition at line 308 of file vec.cpp.

◆ scan() [3/3]

int graphics::scan ( FILE *  fp,
const vec4 v 
)

Definition at line 367 of file vec.cpp.

◆ set_u_epsilon()

void graphics::set_u_epsilon ( real  a)

Definition at line 22 of file epsilon.cpp.

◆ set_zero_epsilon()

void graphics::set_zero_epsilon ( real  a)

Definition at line 31 of file epsilon.cpp.

◆ squaredNorm() [1/3]

real graphics::squaredNorm ( const vec2 a)
inline

Definition at line 399 of file vec.h.

◆ squaredNorm() [2/3]

real graphics::squaredNorm ( const vec3 a)
inline

Definition at line 820 of file vec.h.

◆ squaredNorm() [3/3]

real graphics::squaredNorm ( const vec4 a)
inline

Definition at line 1212 of file vec.h.

◆ store() [1/3]

void graphics::store ( FILE *  fp,
const vec2 v 
)

Definition at line 82 of file vec.cpp.

◆ store() [2/3]

void graphics::store ( FILE *  fp,
const vec3 v 
)

Definition at line 299 of file vec.cpp.

◆ store() [3/3]

void graphics::store ( FILE *  fp,
const vec4 v 
)

Definition at line 358 of file vec.cpp.

◆ sum() [1/3]

real graphics::sum ( const vec2 a)
inline

Definition at line 377 of file vec.h.

◆ sum() [2/3]

real graphics::sum ( const vec3 a)
inline

Definition at line 801 of file vec.h.

◆ sum() [3/3]

real graphics::sum ( const vec4 a)
inline

Definition at line 1192 of file vec.h.

◆ unit() [1/3]

vec2 graphics::unit ( const vec2 a)
inline

Definition at line 403 of file vec.h.

◆ unit() [2/3]

vec3 graphics::unit ( const vec3 a)
inline

Definition at line 829 of file vec.h.

◆ unit() [3/3]

vec4 graphics::unit ( const vec4 a)
inline

Definition at line 1220 of file vec.h.

Variable Documentation

◆ angle_tolerance

real graphics::angle_tolerance = M_PI/180.0

Definition at line 14 of file epsilon.cpp.

◆ epsilon

real graphics::epsilon = 1.0e-8

Definition at line 7 of file epsilon.cpp.

◆ intersection_epsilon

real graphics::intersection_epsilon = 1e-6

Definition at line 9 of file epsilon.cpp.

◆ save_zero_epsilon

real graphics::save_zero_epsilon = 1.0e-12

Definition at line 15 of file epsilon.cpp.

◆ sqrt_epsilon

real graphics::sqrt_epsilon = 1.490116119385000000e-8

Definition at line 10 of file epsilon.cpp.

◆ unset_value

real graphics::unset_value = -1.23432101234321e+308

Definition at line 11 of file epsilon.cpp.

◆ user_epsilon

real graphics::user_epsilon = 1.0e-8

Definition at line 8 of file epsilon.cpp.

◆ zero_epsilon

real graphics::zero_epsilon = 1.0e-12

Definition at line 13 of file epsilon.cpp.

◆ zero_tolerance

real graphics::zero_tolerance = 1.0e-12

Definition at line 12 of file epsilon.cpp.