light

package
v0.0.0-...-ce4c9c0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: BSD-2-Clause, BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PointLight

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

func (*PointLight) Cleanup

func (t *PointLight) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*PointLight) Start

func (t *PointLight) Start(a *app.App)

Start is called once at the start of the demo.

func (*PointLight) Update

func (t *PointLight) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

type SpotLight

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

func (*SpotLight) Cleanup

func (t *SpotLight) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*SpotLight) Start

func (t *SpotLight) Start(a *app.App)

Start is called once at the start of the demo.

func (*SpotLight) Update

func (t *SpotLight) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

Jump to

Keyboard shortcuts

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