input

package
v0.0.0-...-055c607 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2013 License: BSD-3-Clause Imports: 3 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 {
	// contains filtered or unexported fields
}

func NewCamera

func NewCamera() *Camera

func (*Camera) ComputeViewPerspective

func (c *Camera) ComputeViewPerspective() (mathgl.Mat4f, mathgl.Mat4f)

Since go has multiple return values, I just went ahead and made it return the view and perspective matrices (in that order) rather than messing with getter methods

Jump to

Keyboard shortcuts

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