MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / Sort

Method Sort

src/Nazara/Graphics/ForwardRenderQueue.cpp:637–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 */
636
637 void ForwardRenderQueue::Sort(const AbstractViewer* viewer)
638 {
639 if (viewer->GetProjectionType() == ProjectionType_Orthogonal)
640 SortForOrthographic(viewer);
641 else
642 SortForPerspective(viewer);
643 }
644
645 /*!
646 * \brief Gets the billboard data

Callers 1

DrawMethod · 0.80

Calls 1

GetProjectionTypeMethod · 0.80

Tested by

no test coverage detected