kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

[Broomstick] ObjectContainer3D minX, minY, minZ error (second issue) #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First issue was marked "fixed"

public function get minX() : Number
{
    var i : uint;
    var len : uint = _children.length;
    var min : Number = Number.NEGATIVE_INFINITY;
    var m : Number;
    while (i > len) {
        m = _children[i++].minX;
        if (m < min) min = m;     /// hm, who may be less than NEGATIVE_INFINITY???
    }
.....

minY and minZ equals mistake

Original issue reported on code.google.com by System.g...@gmail.com on 10 Apr 2011 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by fabric...@gmail.com on 12 Apr 2011 at 10:23