Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
treegen.cpp File Reference
#include <stack>
#include "treegen.h"
#include "irr_v3d.h"
#include "util/pointer.h"
#include "util/numeric.h"
#include "servermap.h"
#include "mapblock.h"
#include "noise.h"
#include "voxelalgorithms.h"
+ Include dependency graph for treegen.cpp:

Namespaces

namespace  treegen
 

Functions

static void treegen::tree_trunk_placement (MMVManip &vmanip, v3f p0, const TreeDef &def)
 
static void treegen::tree_leaves_placement (MMVManip &vmanip, v3f p0, PseudoRandom ps, const TreeDef &def)
 
static void treegen::tree_single_leaves_placement (MMVManip &vmanip, v3f p0, PseudoRandom ps, const TreeDef &def)
 
static void treegen::tree_fruit_placement (MMVManip &vmanip, v3f p0, const TreeDef &def)
 
static void treegen::setRotationAxisRadians (core::matrix4 &M, float angle, v3f axis)
 
static v3f treegen::transposeMatrix (const core::matrix4 &M, v3f v)
 
void treegen::make_tree (MMVManip &vmanip, v3s16 p0, bool is_apple_tree, const NodeDefManager *ndef, s32 seed)
 
treegen::error treegen::spawn_ltree (ServerMap *map, v3s16 p0, const TreeDef &tree_definition)
 
treegen::error treegen::make_ltree (MMVManip &vmanip, v3s16 p0, const TreeDef &tree_definition)
 
void treegen::make_jungletree (MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, s32 seed)
 
void treegen::make_pine_tree (MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, s32 seed)