tree

package
v0.0.0-...-26bc893 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

type Tree interface {
	models.Model
	GetPosition() *math32.Vector3
	DistanceTo(v *math32.Vector3) float32
}

func NewTree

func NewTree(x, y, z float32) Tree

type Trees

type Trees []Tree

func GenerateTrees

func GenerateTrees(width, height float32, amount uint, distance float32) Trees

Jump to

Keyboard shortcuts

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