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

Go to the source code of this file.

Classes

struct  nanommo::Face

Namespaces

namespace  nanommo

Functions

std::string nanommo::TreesFolder ()
std::vector< Face > nanommo::LoadFaces (const std::string &path)
Matrix nanommo::TreeTransform (const Tree &tree, const Terrain &terrain)
 Sizes the model, turns it, and stands it on the ground.
void nanommo::AddFaces (Triangles &triangles, const std::vector< Face > &faces, const Matrix &transform, Color tint)

Variables

constexpr float nanommo::kTreeHeight = 5.0f
 In metres, before each tree's own scale.