camera

package
v0.0.0-...-00121b1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: MIT 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 interface {
	Update()
	Rotate(theta, phi float32)
	Zoom(distance float32)

	GetPos() mgl32.Vec3
	GetView() mgl32.Mat4
	GetPerspective() mgl32.Mat4
	GetViewPerspective() mgl32.Mat4
}

Camera abstracts a camera model with either perspective or orthographic projection.

Directories

Path Synopsis
Package camera provides implementations of different camera models.
Package camera provides implementations of different camera models.
Package camera provides implementations of different camera models.
Package camera provides implementations of different camera models.

Jump to

Keyboard shortcuts

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