Author Topic: BoundingBox  (Read 395 times)

Offline Mr. K

  • byte
  • *
  • Posts: 17
    • View Profile
BoundingBox
« on: April 20, 2016, 10:52:19 am »
Hi guys i got another question, how can i show the bounding Box of an object, i use the method getBoundingBow() for get the coordinates, there are a method for show it? or i must draw the lines, if i must draw, how can i draw a line?

thnx

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: BoundingBox
« Reply #1 on: April 20, 2016, 03:42:25 pm »
You could use the Polyline class for this and set the object in question as the parent ( http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Polyline.html#setParent(com.threed.jpct.Object3D) ).