camera

package
v0.0.0-...-3c2089e Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(X, Y int) (r3.Vector, r3.Vector, r3.Vector, r3.Vector)

Types

type Parts

type Parts struct {
	Origin          r3.Vector
	LowerLeftCorner r3.Vector
	Horizontal      r3.Vector
	Vertical        r3.Vector
}

func New

func New(origin, lowerLeftCorner, horizontal, vertical r3.Vector) Parts

func (Parts) Ray

func (camera Parts) Ray(h, v float64) ray.VertexPair

Jump to

Keyboard shortcuts

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