Blockland Forums > Modification Help
A question about a variable
Brian Smithers:
So I was talking to someone
and he showed me something.
if you do $debugOctTree = 1;
A bunch of loving lines come up.
what are these lines?
Slicksilver:
I mean, it's kinda obvious. The octtree is what holds the bricks' positions and such. That variable turns on debugging of this structure. There's no reason you would ever use it, it's used by kompressor and Badspot to debug their engine code.
Brian Smithers:
--- Quote from: Slicksilver on February 22, 2012, 06:44:08 PM ---I mean, it's kinda obvious. The octtree is what holds the bricks' positions and such. That variable turns on debugging of this structure. There's no reason you would ever use it, it's used by kompressor and Badspot to debug their engine code.
--- End quote ---
I just want to know what the lines are.
No stuff it's the oct tree.
$debugOctTree
MUST BE THE SHADDERS
otto-san:
You get a bunch of lines similar to this.
octTree::render - batcher (1cls, 1draws) nodes (214visits, 214rend) occlude (0qrys, 0hid nodes)
Slicksilver:
--- Quote from: Brian Smithers on February 22, 2012, 07:14:35 PM ---I just want to know what the lines are.
--- End quote ---
What do you mean you want to know what the lines are?
They tell you what the oct tree is doing.