summaryrefslogtreecommitdiff
path: root/height-map-display/src/map/node.h
blob: 07054f69f9c4a6197550b77b66ea284a5f0ce9d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef NODE_H
#define NODE_H

typedef struct Node {
    int x;
    int y;
    float elevation;
} Node;

// TODO: get (x, y) as int arr
void change_node_height(Node* node, float diff);

#endif