daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2013 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //L-System tree generator
  2. void make_ltree(ManualMapVoxelManipulator &vmanip, v3s16 p0, INodeDefManager *ndef,
  3.                 u32 seed, TreeDef tree_definition)
  4. {
  5.         MapNode dirtnode(ndef->getId("mapgen_dirt"));
  6.  
  7.         PseudoRandom ps(seed+1402);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top