module Hitable::ListMethods

Overview

Methods shared between List and BoundedList

NOTE Inheritance is not possible, because List < Hitable but BoundedList < BoundedHitable

Direct including types

Defined in:

hitables/hitable_list.cr

Instance Method Summary

Instance Method Detail

def area #

[View source]
def hit(ray) #

[View source]
def pdf(point, wi) #

[View source]
def sample(origin) #

[View source]
def sample #

[View source]