Author Topic: Curiosity - What's inside  (Read 3491 times)


now do a circle.
How the forget would it decide when to make a brick underneath the current layer when someone clicks on it

How the forget would it decide when to make a brick underneath the current layer when someone clicks on it

How the forget would it decide when to make a brick underneath the current layer when someone clicks on it
math


It's not possible to make a perfect sphere out of squares, there will be cases where when you click a brick it doesn't have to make one under it. How do you calculate that?

It's not possible to make a perfect sphere out of squares, there will be cases where when you click a brick it doesn't have to make one under it. How do you calculate that?
everytime you make a brick put it in a 3D Grid
$grid[x,y,z] = true/false

if $grid[x,y,z-1]
return
else
plantbrick

copryrt 20132 plsz don steel!!!!!

You know, i think there is like nothing inside the cube...
Not sure, but still.

everytime you make a brick put it in a 3D Grid
$grid[x,y,z] = true/false

if $grid[x,y,z-1]
return
else
plantbrick

copryrt 20132 plsz don steel!!!!!
that doesn't calculate where the next brick will go, which is what i asked.

that doesn't calculate where the next brick will go, which is what i asked.
blegh

check the way it is facing based off of the center of it and from there make accurate checks to see if there isn't or is bricks there.



OR

you can keep a list of places where you should never have a brick
and a place where there is/isn't a brick (including bricks on the never thing)

do a check
if isn't on never
if doesn't have brick
plant.
« Last Edit: January 15, 2013, 07:54:11 PM by Brian Smithers »

Curiosity killed the cat...

Just sayin'