scene

package
v0.0.0-...-f6a54cf Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2017 License: GPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Geometry  geometry.Intersectable
	Transform util.Transform

	Texture texture.Shadeable
}

func (*Node) Intersect

func (n *Node) Intersect(ray geometry.Ray) *geometry.IntersectInfo

type Scene

type Scene struct {
	Nodes  []Node
	Camera camera.PerspectiveCamera
	Lights []light.PointLight
}

Jump to

Keyboard shortcuts

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