projectile

package
v0.0.0-...-75d14b7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimulateProjectile

func SimulateProjectile()

Types

type Environment

type Environment struct {
	Gravity tuple.Vector
	Wind    tuple.Vector
}

type Projectile

type Projectile struct {
	Position tuple.Point
	Velocity tuple.Vector
}

func Tick

func Tick(env Environment, proj Projectile) Projectile

Jump to

Keyboard shortcuts

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