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

Go to the source code of this file.

Classes

struct  nanommo::Chunk

Namespaces

namespace  nanommo

Functions

std::vector< Chunk > nanommo::LoadChunks (const Terrain &terrain, const Look &look, const std::vector< Face > &tree, Shader shader)
void nanommo::UnloadChunks (std::vector< Chunk > &chunks)
bool nanommo::InSight (const BoundingBox &box, Vector3 eye, const Matrix &view_projection, float farthest)

Variables

constexpr int nanommo::kChunkCells = 16
 In cells along each side: 32 metres.