textures
[nexus3d] / src / nexus3d.h
index f1ad71b..b2e67f6 100644 (file)
@@ -5,6 +5,14 @@
 #include "wsys/wsys.h"
 #include "cgmath2/cgmath2.h"
 
+struct nex_span {
+       int start, len;
+};
+
+struct nex_rect {
+       int x, y, width, height;
+};
+
 enum nex_apiflags_gl {
        NEX_OPENGL_COMPAT       = 1,
        NEX_OPENGL_DEBUG        = 2
@@ -12,4 +20,7 @@ enum nex_apiflags_gl {
 
 void nex_gfxapi_opengl(int vmaj, int vmin, enum nex_apiflags_gl flags);
 
+struct nex_span nex_span(int x, int len);
+struct nex_rect nex_rect(int x, int y, int w, int h);
+
 #endif /* NEXUS3D_H_ */