|
@@ -97,6 +97,9 @@ class Object {
|
|
return invPos;
|
|
return invPos;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ Return the bounds of this object, in absolute position.
|
|
|
|
+ **/
|
|
public function getBounds( ?b : h3d.col.Bounds ) {
|
|
public function getBounds( ?b : h3d.col.Bounds ) {
|
|
if( b == null ) {
|
|
if( b == null ) {
|
|
b = new h3d.col.Bounds();
|
|
b = new h3d.col.Bounds();
|