hmap

package
v0.0.0-...-d3f1ebf Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command go-heightmap provides a basic Square Diamond heightmap / terrain generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heightmap

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

Heightmap generates a heightmap based on the Square Diamond algorithm.

func NewHeightmap

func NewHeightmap(size int) *Heightmap

NewHeightmap initializes a new Heightmap using the specified size.

Jump to

Keyboard shortcuts

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