input

package
v0.0.0-...-64b743f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2014 License: BSD-3-Clause Imports: 4 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(window *glfw.Window) *Camera

func (*Camera) ComputeViewPerspective

func (c *Camera) ComputeViewPerspective() (mgl32.Mat4, mgl32.Mat4)

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