physics

package
v0.0.0-...-48e9ae6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhysicsBasic

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

func (*PhysicsBasic) Cleanup

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

Cleanup is called once at the end of the demo.

func (*PhysicsBasic) Start

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

Start is called once at the start of the demo.

func (*PhysicsBasic) Update

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

Update is called every frame.

type PhysicsSphereBox

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

func (*PhysicsSphereBox) Cleanup

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

Cleanup is called once at the end of the demo.

func (*PhysicsSphereBox) Start

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

Start is called once at the start of the demo.

func (*PhysicsSphereBox) Update

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

Update is called every frame.

type PhysicsSpheres

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

func (*PhysicsSpheres) Cleanup

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

Cleanup is called once at the end of the demo.

func (*PhysicsSpheres) Start

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

Start is called once at the start of the demo.

func (*PhysicsSpheres) ThrowBall

func (t *PhysicsSpheres) ThrowBall()

func (*PhysicsSpheres) Update

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

Update is called every frame.

type PhysicsSpheres2

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

func (*PhysicsSpheres2) Cleanup

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

Cleanup is called once at the end of the demo.

func (*PhysicsSpheres2) Start

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

Start is called once at the start of the demo.

func (*PhysicsSpheres2) ThrowBall

func (t *PhysicsSpheres2) ThrowBall()

func (*PhysicsSpheres2) Update

func (t *PhysicsSpheres2) 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