Top Level Namespace
Defined in:
Constant Summary
-
PointCount =
256 -
R =
Math.cos(Math::PI / 4.0) -
ValidSceneNames =
["cover", "two-spheres"]
Method Summary
- degrees_to_radians(degrees : Float64)
- random_in_hemisphere(normal : Vec3)
- random_in_unit_disc
- random_in_unit_sphere
- random_unit_vector
- ray_color(r : Ray, world : Hittable, depth : Int32) : Color
- render(image_width, image_height, samples_per_pixel, max_depth, scene_name)