class Hitable::BruteForceDistanceEstimator

Defined in:

hitables/distance_estimator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(material, object, maximum = 1000.0) #

[View source]

Instance Method Detail

def hit(ray) #

[View source]
def material : Material #

[View source]
def material=(material : Material) #

[View source]
def maximum : Float64 #

[View source]
def maximum=(maximum : Float64) #

[View source]

[View source]
def object=(object : DE::BruteForceDistanceEstimatable) #

[View source]