summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/material.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-10-12 13:22:17 +0200
committerPaul Lemire <paul.lemire@kdab.com>2015-10-14 18:52:42 +0000
commit6cf4712bda7d3453ddf728f5903374abd2f4efc9 (patch)
treed30f8d8421d30b7175d687eea91df8e697a54a88 /src/render/materialsystem/material.cpp
parentc8b386a57d53eb2c24f1e32f483569c56db6f362 (diff)
Resurrect bounding volumes
For BackToFront sorting to work we need to calculate a depth value based on the entity's bounding spheres. This is currently missing as there is no AABB from which the RenderEntity's localBoundingVolume could be calculated. Bring it back. RenderEntity contains two world bounding volumes from now on: just having one that includes the children is not ideal because in some cases we want to know the entitys own bounding volume not including the children. This is the case when building render commands for example. Change-Id: I20f5bccdc3f868bcbd5faa3164f0e9995a3171ec Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/render/materialsystem/material.cpp')
0 files changed, 0 insertions, 0 deletions