X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fvoxscape.h;fp=src%2Fvoxscape.h;h=98d9bf30c10797f5da223472de0065941009a622;hb=93c370a115018efcd9cadedbb5a9885220176c4c;hp=0602831b22adc09e447d31fbeeed1fc4cbce592f;hpb=e10cd82c8f0b2a2140aa6a4792ed56329932271f;p=voxscape diff --git a/src/voxscape.h b/src/voxscape.h index 0602831..98d9bf3 100644 --- a/src/voxscape.h +++ b/src/voxscape.h @@ -22,10 +22,10 @@ int vox_height(struct voxscape *vox, int32_t x, int32_t y); void vox_filter(struct voxscape *vox, int hfilt, int cfilt); -void vox_framebuf(struct voxscape *vox, int xres, int yres, uint32_t *fb, int horizon); +void vox_framebuf(struct voxscape *vox, int xres, int yres, uint32_t *fb); /* negative height for auto at -h above terrain */ -void vox_view(struct voxscape *vox, int32_t x, int32_t y, int h, int32_t angle); -void vox_proj(struct voxscape *vox, int fov, int znear, int zfar); +void vox_view(struct voxscape *vox, int32_t x, int32_t y, int h, int32_t angle, int32_t vangle); +void vox_proj(struct voxscape *vox, int hscale, int fov, int znear, int zfar); void vox_render(struct voxscape *vox);