package
Version:
v0.0.0-...-ec9fd1c
Opens a new window with list of versions in this module.
Published: Dec 14, 2012
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cameras provides standard perspective and orthographic cameras.
-
func NewOrthographic(pos, look, up vec64.Vector, resx, resy int, aspect, scale float64) goray.Camera
-
func NewPerspective(pos, look, up vec64.Vector, resx, resy int, ...) goray.Camera
-
type Bokeh
-
type BokehBias
NewOrthographic creates a new orthographic camera.
func NewPerspective(pos, look, up vec64.Vector,
resx, resy int,
aspect, focalDist, aperture float64,
bokeh Bokeh, bias BokehBias, bokehRot float64) goray.Camera
NewPerspective creates a perspective camera.
It will not lead you to enlightenment.
A Bokeh determines the shape of out-of-focus light.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.