cam

package
v0.0.0-...-1ed56cc Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FpsCamera

type FpsCamera struct {
	// contains filtered or unexported fields
}

func NewFpsCamera

func NewFpsCamera(position, worldUp mgl32.Vec3, yaw, pitch float64, im *win.InputManager) *FpsCamera

func (*FpsCamera) GetTransform

func (camera *FpsCamera) GetTransform() mgl32.Mat4

GetCameraTransform gets the matrix to transform from world coordinates to this camera's coordinates.

func (*FpsCamera) Update

func (c *FpsCamera) Update(dTime float64)

Jump to

Keyboard shortcuts

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