Guest User

Untitled

a guest
Feb 23rd, 2013
32
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