ReactOS 0.4.15-dev-7918-g2a2556c
arc.cc File Reference
#include "arc.h"
#include "simplemath.h"
Include dependency graph for arc.cc:

Go to the source code of this file.

Macros

#define ZERO   0.00001/*0.000001*/
 
#define TOL   0.00001
 

Functions

static int neq_vert (REAL *v1, REAL *v2)
 
long tooclose (REAL x, REAL y)
 

Macro Definition Documentation

◆ TOL

#define TOL   0.00001

Definition at line 321 of file arc.cc.

◆ ZERO

#define ZERO   0.00001/*0.000001*/

Definition at line 50 of file arc.cc.

Function Documentation

◆ neq_vert()

static int neq_vert ( REAL v1,
REAL v2 
)
inlinestatic

Definition at line 223 of file arc.cc.

224{
225 return ((v1[0] != v2[0]) || (v1[1] != v2[1] )) ? 1 : 0;
226}
GLfloat GLfloat v1
Definition: glext.h:6062
GLfloat GLfloat GLfloat v2
Definition: glext.h:6063

◆ tooclose()

long tooclose ( REAL  x,
REAL  y 
)
inline

Definition at line 323 of file arc.cc.

324{
325 return (glu_abs(x-y) < TOL) ? 1 : 0;
326}
#define TOL
Definition: arc.cc:321
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
REAL glu_abs(REAL x)
Definition: simplemath.h:50