SANDAL2
A SDL2 Wrapper in C
Public Attributes | List of all members
Line Struct Reference

Represente a line which delimitate a hittable surface from a none hittable one. More...

#include <Clickable.h>

Collaboration diagram for Line:
Collaboration graph
[legend]

Public Attributes

struct Linenext
 
double a
 
double b
 
double c
 
int side
 

Detailed Description

Represente a line which delimitate a hittable surface from a none hittable one.

Member Data Documentation

◆ a

double Line::a

a in the equation of the line ax+by=c

◆ b

double Line::b

b in the equation of the line ax+by=c

◆ c

double Line::c

c in the equation of the line ax+by=c

◆ next

struct Line* Line::next

next element

◆ side

int Line::side

side of the line that is hittable (-1 : ax+by<c, 1 : ax+by>c)


The documentation for this struct was generated from the following file: