projects
/
gbajam22
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed near clip
[gbajam22]
/
src
/
xgl.h
diff --git
a/src/xgl.h
b/src/xgl.h
index
9a2308b
..
51dd64c
100644
(file)
--- a/
src/xgl.h
+++ b/
src/xgl.h
@@
-18,6
+18,8
@@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef XGL_H_
#define XGL_H_
+#include <stdint.h>
+
#define X_PI 0x3243f
#define X_2PI 0x6487f
#define X_HPI 0x19220
@@
-66,4
+68,6
@@
void xgl_transform(const struct xvertex *vin, int *x, int *y);
void xgl_xyzzy(void);
+int xgl_clip_near(struct xvertex *vout, int *voutnum, struct xvertex *vin, int vnum);
+
#endif /* XGL_H_ */