struct voxscape *vox_open(const char *hfile, const char *cfile);
void vox_free(struct voxscape *vox);
+int vox_height(struct voxscape *vox, int32_t x, int32_t y);
+
void vox_framebuf(struct voxscape *vox, int xres, int yres, uint32_t *fb);
-void vox_view(struct voxscape *vox, int32_t x, int32_t y, int32_t angle);
+/* 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_render(struct voxscape *vox);