render

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(hitable primitive.Hitable, camera *primitive.Camera, cpus, samples, width, height int, ch chan int) image.Image

Do performs the render, sampling each pixel the provided number of times

func RandomScene

func RandomScene() *primitive.World

RandomScene returns a 'random' scene

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL