mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 05:01:26 +00:00
b0879ba255
Group and the menu plist parser are currently broken.
19 lines
272 B
R
19 lines
272 B
R
#include "gui/Point.h"
|
|
|
|
Point makePoint (integer x, integer y)
|
|
{
|
|
Point p = {x, y};
|
|
return p;
|
|
}
|
|
|
|
Point addPoint (Point a, Point b)
|
|
{
|
|
Point c = {a.x + b.x, a.y + b.y};
|
|
return c;
|
|
}
|
|
|
|
Point subtractPoint (Point a, Point b)
|
|
{
|
|
Point c = {a.x - b.x, a.y - b.y};
|
|
return c;
|
|
}
|