]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/zsortedscene.h
Update and improve documentation
[libs/gl.git] / source / render / zsortedscene.h
index 749a97052e8010ad8097e0fcc5f2034d019a6341..277d62cf7ac080ed8aa70d4b132e1f4bbf636f48 100644 (file)
@@ -22,8 +22,11 @@ enum DepthReference
 };
 
 /**
-Sorts renderables by their distance from the camera before rendering.  Requires
-renderables to have a matrix.
+A scene which sorts renderables by their distance from the camera before
+rendering.
+
+Renderables must have valid model matrices to be sorted.  Those without a
+matrix are sorted as closest to the camera.
 */
 class ZSortedScene: public Scene
 {