class Camera::Environment

Defined in:

camera.cr

Constructors

Instance Method Summary

Instance methods inherited from class Camera

generate_ray(x : Float64, y : Float64, t_min : Float64, t_max : Float64) : Ray generate_ray

Constructor Detail

def self.new(look_from : Point, look_at : Point, dimensions : Tuple(Int32, Int32), up = Vector.y) #

[View source]

Instance Method Detail

def generate_ray(s, t, t_min, t_max) #

[View source]