Scene.getWorldExtends() on empty scene returns crazy values

It returns min = Number.MAX_VALUE; max = -Number.MAX_VALUE; which doesn’t make much sense. It doesn’t event make min < max

I’d expect to get zeros or null.

You’re right, here’s the fix:

2 Likes