Blender Git Loki

Git Commits -> Revision 267e816

Revision 267e816 by Germano Cavalcante (master)
March 6, 2018, 22:27 (GMT)
Draw Manager: Simplify the algorithm that extract the BoundingSphere of a Frustum

The idea is to separate the most common case from symmetrical frustum. And to make a simple but efficient calculation.

The new radius is usually 98% the size of the radius size of the asymmetric solution.

Thanks to @fclem for reviewing the patch on IRC

Commit Details:

Full Hash: 267e816b9a603026d951f8e8e318ceaed04ca944
Parent Commit: faf70e1
Lines Changed: +53, -25

1 Modified Path:

/source/blender/draw/intern/draw_manager_exec.c (+53, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021