return -1;
}
vox_framebuf(vox, FB_W, FB_H, fb);
- vox_proj(vox, 140, 45, 1, 300);
vox_fog(vox, 260, COLOR_HORIZON);
vox_filter(vox, hfilt, cfilt);
void reshape(int x, int y)
{
+ float aspect = (float)x / y;
+
+ vox_proj(vox, 140, 40 * aspect, 1, 300);
+
glViewport(0, 0, x, y);
win_width = x;