OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SPRITE_SIZE
(Results
1 - 5
of
5
) sorted by null
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
Sprite.java
37
static final int
SPRITE_SIZE
= 4 * VERTEX_SIZE;
39
final float[] vertices = new float[
SPRITE_SIZE
];
108
System.arraycopy(sprite.vertices, 0, vertices, 0,
SPRITE_SIZE
);
515
batch.draw(texture, getVertices(), 0,
SPRITE_SIZE
);
PolygonSpriteBatch.java
19
import static com.badlogic.gdx.graphics.g2d.Sprite.
SPRITE_SIZE
;
372
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
514
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
583
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
640
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
698
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
753
final int triangleCount = count /
SPRITE_SIZE
* 6;
791
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
850
else if (triangleIndex + 6 > triangles.length || vertexIndex +
SPRITE_SIZE
> vertices.length) //
[
all
...]
CpuSpriteBatch.java
249
if (count % Sprite.
SPRITE_SIZE
!= 0) throw new GdxRuntimeException("invalid vertex count");
406
idx += Sprite.
SPRITE_SIZE
;
538
idx += Sprite.
SPRITE_SIZE
;
592
idx += Sprite.
SPRITE_SIZE
;
SpriteCache.java
19
import static com.badlogic.gdx.graphics.g2d.Sprite.
SPRITE_SIZE
;
834
add(sprite.getTexture(), sprite.getVertices(), 0,
SPRITE_SIZE
);
SpriteBatch.java
107
vertices = new float[size * Sprite.
SPRITE_SIZE
];
Completed in 609 milliseconds