class Background::Constant

Overview

A backgound that has the same color everywhere

Defined in:

backgrounds/constant.cr

Constructors

Instance Method Summary

Instance methods inherited from class Background

get(ray : Ray) : Color get

Constructor Detail

def self.new(color : Color) #

[View source]

Instance Method Detail

def get(ray) : Color #

[View source]