forked from openscenegraph/OpenSceneGraph
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osgParticle: dynamically allocate _particles
Makes the std::sort much faster (only need to exchange pointers, not complete Particle objects). The render_vertex_array has been temporarily removed because it relied on the particles stored contiguously in memory.
- Loading branch information
Showing
4 changed files
with
43 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters