Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • x : tank.origin0 - tank.dim0 - zc
  • y : tank.origin1 + tank.dim1 + zc
  • z : tank.origin2 + tank.dim2

box1 - Draws the smaller of the two boxes to create the tank

box1 <-- boxA(tankorigin,p1)

...

  • x : tank.origin0 - tank.dim0
  • y : tank.origin1 + tank.dim1
  • z : tank.origin2 + tank.dim2

box2 - Draws the larger of the two boxes to create the tank

box2 <-- boxA(p2,p3)

p2=

  • x : tank.origin0 + thick
  • y : tank.origin1 - thick
  • z : tank.origin2 - thick

p3=

  • x : tank.origin0 - tank.dim0 - thick
  • y : tank.origin1 + tank.dim1 + thick
  • z : tank.origin2 + tank.dim2

subtract - In order to make the tank hollow, the inner box must be subtracted from the outer box