![]() |
SANDAL2
A SDL2 Wrapper in C
|
Represente a line which delimitate a hittable surface from a none hittable one. More...
#include <Clickable.h>
Public Attributes | |
struct Line * | next |
double | a |
double | b |
double | c |
int | side |
Represente a line which delimitate a hittable surface from a none hittable one.
double Line::a |
a in the equation of the line ax+by=c
double Line::b |
b in the equation of the line ax+by=c
double Line::c |
c in the equation of the line ax+by=c
struct Line* Line::next |
next element
int Line::side |
side of the line that is hittable (-1 : ax+by<c, 1 : ax+by>c)