projects
/
retroray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add relative mouse handling in mouse.asm
[retroray]
/
src
/
rend.h
diff --git
a/src/rend.h
b/src/rend.h
index
61d5b5f
..
33c5963
100644
(file)
--- a/
src/rend.h
+++ b/
src/rend.h
@@
-25,11
+25,13
@@
along with this program. If not, see <https://www.gnu.org/licenses/>.
extern struct img_pixmap renderbuf;
extern int max_ray_depth;
extern struct img_pixmap renderbuf;
extern int max_ray_depth;
+extern cgm_vec3 ambient;
struct scene;
int rend_init(void);
void rend_size(int xsz, int ysz);
struct scene;
int rend_init(void);
void rend_size(int xsz, int ysz);
+void rend_pan(int xoffs, int yoffs);
void rend_begin(int x, int y, int w, int h);
int render(uint32_t *fb);
void rend_begin(int x, int y, int w, int h);
int render(uint32_t *fb);