projects
/
gba_blender
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unlit cube
[gba_blender]
/
src
/
xgl.h
diff --git
a/src/xgl.h
b/src/xgl.h
index
1e531bb
..
125af16
100644
(file)
--- a/
src/xgl.h
+++ b/
src/xgl.h
@@
-18,6
+18,11
@@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef XGL_H_
#define XGL_H_
+#define X_PI 0x3243f
+#define X_2PI 0x6487f
+#define X_HPI 0x19220
+#define X_QPI 0xc910
+
enum {
XGL_LINES = 2,
XGL_TRIANGLES = 3,
@@
-26,6
+31,7
@@
enum {
struct xvertex {
int32_t x, y, z;
+ int32_t nx, ny, nz;
unsigned char cidx;
};