Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void wf_scene_rendition(wf_scene_t scene, wf_view_t view, wf_pixelbuffer_t pixelbuffer )
- {
- for(size_t x = 0; x != pixelbuffer->x; x++)
- {
- wf_ray = create_ray(view, pixelbuffer, x);
- wf_vector_t where;
- wf_wall_t wall = find_wall(scene, ray, &where);
- if (wall)
- {
- render_wall(wall, view, where, pixelbuffer);
- }
- }
- }
Add Comment
Please, Sign In to add comment