Another question in stepping over to away3d 4:
I havn’t found an easy replacement yet for
//worked in 3.6
scene.minX
scene.maxY
//etc..
All I can think of now is this:
private function getMaxX():Number
{
var maxX:Number = 0;
for (var i:Number = 0; i < view.scene.numChildren; i++)
{
var child:ObjectContainer3D = view.scene.getChildAt(i);
maxX = Math.max(child.maxX, maxX);
}
return maxX;
}
Is there a better way?