hmap

package
Version: v0.0.0-...-de75733 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL