projectile

package
v0.0.0-...-06b0cfe Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Gravity *tracer.Vector
	Wind    *tracer.Vector
}

Environment represents the environment.

type Projectile

type Projectile struct {
	Position *tracer.Point
	Velocity *tracer.Vector
}

Projectile represents the projectile.

func Tick

Tick returns a projectile representing the state after a unit of time.

Jump to

Keyboard shortcuts

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