input

package
Version: v0.0.0-...-791261b Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2017 License: BSD-3-Clause Imports: 3 Imported by: 8

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

Source Files

Jump to

Keyboard shortcuts

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