Getting Minimum and Maximum

Discussion in 'Plugin Development' started by Ultimate_n00b, Sep 18, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Ultimate_n00b

    In my plugin, I don't want the user to select the minimum and maximum points of a cuboid, but I want to check if another vector is inside the two points. (reason I am doing this is because of isInAAB, which needs a minimum & maximum according to its javadoc:
    Code:java
    1. * The minimum and maximum vectors given must be truly the minimum and
    2. * maximum X, Y and Z components.
    )

    Anyone know a simple way to do this?
     
  2. Offline

    chasechocolate

    Math.min(number, otherNumber) and Math.max(number, otherNumber).
     
Thread Status:
Not open for further replies.

Share This Page