moai/moai-dev — Issue #162: three-dee: use USBox instead of USRect in MOAIMesh::GetBounds
Author: kengonakajima
Created: 2012-03-02 07:24:31+00:00
State: open

USRect doesn't contain Z information so it causes incorrect view frustum culling when a mesh has specially flatter or longer shape.

To reproduce it, use this:

https://github.com/kengonakajima/snippets/tree/master/moai/cull_bug