Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Camera ¶
func NewCamera ¶
func NewCamera(lookFrom geometry.Point3, lookAt geometry.Point3, vup geometry.Vec3, vfov float64, aspect float64, aperture float64, focusDist float64) Camera
NewCamera computes the parameters necessary for the camera...
vfov is expressed in degrees (not radians)
func UnmarshalCamera ¶
func UnmarshalCamera(data json.RawMessage) Camera
UnmarshalJSON unmarshals JSON data into a Camera object
Click to show internal directories.
Click to hide internal directories.