camera

package
v0.0.0-...-9f40f58 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

type Camera struct {
	FOV float64
	// contains filtered or unexported fields
}

func (*Camera) GetPosition

func (c *Camera) GetPosition() vec.Vec3

func (*Camera) GetRayDirection

func (c *Camera) GetRayDirection(u, v float64) vec.Vec3

func (*Camera) Update

func (c *Camera) Update(position, lookat vec.Vec3)

Jump to

Keyboard shortcuts

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