d1,d2 level program
d1,d2 level program
I am not a programmer, I was wondering if it is possible to make a d1,d2 level volume calculator like a single normal cube would be 8000units cubed(20X20X20)
This is something I pseudo implimented in LVLVIEW32, but it didn't work right (the math was probably correct, but my programming most likely wasn't). Calculating the volume is pretty tricky. The way I did it was to divide the cube into 4 tetrahedrons and figure out their volume based on their side lengths. However, I never really investigated if this would work for all cases (it wouldn't work if the cube intersected itself for example).
Why do you need the volume anyway?
Why do you need the volume anyway?