camera

package
v0.0.0-...-e407d5c Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 11 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(width int, height int, msaa int, fov float64) *Camera

func (*Camera) RenderSceneToImage

func (c *Camera) RenderSceneToImage(scene scene.Scene) *image.NRGBA

Jump to

Keyboard shortcuts

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