public static class Library extends Pointer implements Disposable { LongMap<ByteBuffer> fontData = new LongMap<ByteBuffer>();
public static class Library extends Pointer implements Disposable { LongMap<ByteBuffer> fontData = new LongMap<ByteBuffer>();
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();
/** * Creates a LargeLongMap with the given number of backend maps * @param N */ public LargeLongMap(int N) { this.N = N; this.maps = new LongMap[N]; for (int i = 0; i < N; i++) { this.maps[i] = new LongMap<T>(); } }
public static class Library extends Pointer implements Disposable { LongMap<ByteBuffer> fontData = new LongMap<ByteBuffer>();
public Engine(){ entities = new Array<Entity>(false, 16); entitiesById = new LongMap<Entity>(); }
cachedStillModels = new LongMap<StillModel>();
LongMap<OctreeNode> idMap = new LongMap<OctreeNode>(); idMap.put(root.pageId, root);
private static Material getMaterial (ModelMesh modelMesh, Texture texture, String textureName) { Material m = null; long materialHash = Hash.RSHash(modelMesh.toString() + textureName); if (cachedMaterials == null) { cachedMaterials = new LongMap<Material>(); } if (cachedMaterials.containsKey(materialHash)) { return cachedMaterials.get(materialHash); } else { TextureAttribute ta = new TextureAttribute(texture, 0, "u_texture"); m = new Material("default", ta); cachedMaterials.put(materialHash, m); } return m; }
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();
soundIdToSource = new LongMap<Integer>(); sourceToSoundId = new IntMap<Long>();