Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RenderImage ¶
RenderImage is an image output by the ray tracer. Implements the image.Image interface
func (RenderImage) At ¶
func (ri RenderImage) At(x, y int) color.Color
At returns the color at a given point in the image
func (RenderImage) Bounds ¶
func (ri RenderImage) Bounds() image.Rectangle
Bounds returns the dimensions of the image
func (RenderImage) ColorModel ¶
func (ri RenderImage) ColorModel() color.Model
ColorModel returns the RGBA color model
Click to show internal directories.
Click to hide internal directories.