Class SourcePool


  • public class SourcePool
    extends AbstractObjectPool<Source>
    AbstractObjectPool extension for storing and managing OpenAL sources. The idea behid unifiedPos and unifiedVel is to copy the pointers to a single instance of each one to each source, that way we don't need to nmanually set the vectors every single frame. Mutability FTW!