Compounds | |||
![]() | ![]() | struct | CoordStruct |
Typedefs | |||
![]() | ![]() | typedef struct CoordStruct | Coord |
Functions | |||
![]() | ![]() | Coord | add (Coord c1,Coord c2) |
typedef struct CoordStruct Coord |
Creates a type name for CoordStruct
Coord add (Coord c1, Coord c2) |
This function returns the addition of c1 and c2, i.e: (c1.x+c2.x,c1.y+c2.y)