19 #ifndef OPENXCOM_FASTLINECLIIP_H
20 #define OPENXCOM_FASTLINECLIIP_H
30 double FC_xn, FC_yn, FC_xk, FC_yk;
32 void Clip0_Bottom(
void);
33 void Clip0_Right(
void);
34 void Clip0_Left(
void);
36 void Clip1_Bottom(
void);
37 void Clip1_Right(
void);
38 void Clip1_Left(
void);
40 double Wxlef, Wxrig, Wytop, Wybot;
42 FastLineClip(
double Wxl,
double Wxr,
double Wyt,
double Wyb) : FC_xn(0), FC_yn(0), FC_xk(0), FC_yk(0)
52 int LineClip(
double *x0,
double *y0,
double *x1,
double *y1);
int LineClip(double *x0, double *y0, double *x1, double *y1)
LineClip itself.
Definition: FastLineClip.cpp:74
Fast line clip.
Definition: FastLineClip.h:27
~FastLineClip()
Cleans up the fastlineclip.
Definition: FastLineClip.h:50
FastLineClip(double Wxl, double Wxr, double Wyt, double Wyb)
Creates a fastlineclip.
Definition: FastLineClip.h:42