nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
ground.h File Reference
#include <raylib.h>
#include "client/atmosphere.h"
#include "client/triangles.h"
#include "terrain/terrain.h"

Go to the source code of this file.

Namespaces

namespace  nanommo

Enumerations

enum class  nanommo::Surface { nanommo::kSand , nanommo::kGrass , nanommo::kRock , nanommo::kSnow }

Functions

Surface nanommo::SurfaceAt (float height, float up)
Color nanommo::GroundColor (const Look &look, float height, float up)
 The surface's colour in the look.
void nanommo::AddGround (Triangles &triangles, const Terrain &terrain, const Look &look, int left, int top, int cells)