XenevaOS
Loading...
Searching...
No Matches
m_bbox.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Nil.
17//
18
19
20#ifndef __M_BBOX__
21#define __M_BBOX__
22
23#include <limits.h>
24
25#include "m_fixed.h"
26
27
28// Bounding box coordinate storage.
29enum
30{
35}; // bbox coordinates
36
37// Bounding box functions.
38void M_ClearBox (fixed_t* box);
39
40void
42( fixed_t* box,
43 fixed_t x,
44 fixed_t y );
45
46
47#endif
void M_AddToBox(fixed_t *box, fixed_t x, fixed_t y)
Definition m_bbox.c:37
void M_ClearBox(fixed_t *box)
Definition m_bbox.c:29
@ BOXBOTTOM
Definition m_bbox.h:32
@ BOXTOP
Definition m_bbox.h:31
@ BOXRIGHT
Definition m_bbox.h:34
@ BOXLEFT
Definition m_bbox.h:33
int fixed_t
Definition m_fixed.h:32