Remove focal_len parameter from camera (hard-code as 1.0)

This commit is contained in:
2025-09-23 15:36:08 +01:00
parent bb6c1683b2
commit 75159e7223
3 changed files with 8 additions and 9 deletions

View File

@@ -15,8 +15,8 @@ typedef struct {
} camera_t;
camera_t camera_init(
vec3_t pos, double focal_len, double fov, uint32_t img_width,
uint32_t img_height, unsigned samples_per_pixel);
vec3_t pos, double fov, uint32_t img_width, uint32_t img_height,
unsigned samples_per_pixel);
void camera_render(
const camera_t *camera, const obj_t *scene, unsigned scene_count,