Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Vegetation.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::anonymous_namespace{Vegetation.cpp}
 

Functions

FORCE_INLINE U8 Divide::anonymous_namespace{Vegetation.cpp}::BestIndex (const UColour4 &in) noexcept
 
FORCE_INLINE bool Divide::anonymous_namespace{Vegetation.cpp}::ScaleAndCheckBounds (const vec2< F32 > chunkPos, const vec2< F32 > chunkSize, vec2< F32 > &point) noexcept
 

Variables

constexpr U16 Divide::anonymous_namespace{Vegetation.cpp}::BYTE_BUFFER_VERSION = 1u
 
constexpr U32 Divide::anonymous_namespace{Vegetation.cpp}::WORK_GROUP_SIZE = 64
 
constexpr I16 Divide::anonymous_namespace{Vegetation.cpp}::g_maxRadiusSteps = 512
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_ArBase = 1.0f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_BrBase = 1.0f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_PointRadiusBaseGrass = 0.935f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_PointRadiusBaseTrees = 5.f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_distanceRingsBaseGrass = 2.35f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_distanceRingsBaseTrees = 2.5f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_slopeLimitGrass = 30.0f
 
constexpr F32 Divide::anonymous_namespace{Vegetation.cpp}::g_slopeLimitTrees = 10.0f