settings.cpp 358 B
#include "settings.hpp"
float _terrain_length = 250.0f; //Also change terrain_length in multi_mesh_shader.frag as sending a uniform float doesn't work
int _num_trees = _terrain_length * 2;
int _num_grass = _terrain_length / 2;
int num_trees() { return _num_trees; }
int num_grass() { return _num_grass; }
float terrain_length() { return _terrain_length; }