Solved Find dimensions of rectangular prism from two points

Discussion in 'Spigot Plugin Development' started by swendel, Feb 15, 2020.

  1. Does anyone know how to find the length and width of a rectangular prism? I wanted to use subtraction but negative numbers would screw it up. Thank you
     
  2. subtraction & absolute value
     
    • Like Like x 1
  3. I mean you could take two coordinates and subtract them. Then check if it less than 0, and if so, multiply it by -1 to get the positive of it.