libtcod
Loading...
Searching...
No Matches
TCOD_heightmap_t Struct Reference

A contigious 2D array of float values. More...

#include <heightmap.h>

Public Attributes

int w
 Width of this heightmap.
 
int h
 Height of this heightmap.
 
float * values
 Contigious 2D array of float values.
 

Detailed Description

A contigious 2D array of float values.

Member Data Documentation

◆ values

float* TCOD_heightmap_t::values

Contigious 2D array of float values.

Access array elements with heightmap->values[y * heightmap-> w + x]


The documentation for this struct was generated from the following file: