class DE::Box

Defined in:

distance_estimatables/primitives.cr

Constructors

Instance Method Summary

Instance methods inherited from class DE::DistanceEstimatable

distance_estimate(pos : Point) : Float64 distance_estimate

Constructor Detail

def self.new(dimensions : Point, radius = 0.0) #

[View source]

Instance Method Detail

def distance_estimate(pos) #

[View source]