HomeSort by relevance Sort by last modified time
    Searched refs:worldWidth (Results 1 - 7 of 7) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
FillViewport.java 14 public FillViewport (float worldWidth, float worldHeight) {
15 super(Scaling.fill, worldWidth, worldHeight);
18 public FillViewport (float worldWidth, float worldHeight, Camera camera) {
19 super(Scaling.fill, worldWidth, worldHeight, camera);
FitViewport.java 14 public FitViewport (float worldWidth, float worldHeight) {
15 super(Scaling.fit, worldWidth, worldHeight);
18 public FitViewport (float worldWidth, float worldHeight, Camera camera) {
19 super(Scaling.fit, worldWidth, worldHeight, camera);
StretchViewport.java 14 public StretchViewport (float worldWidth, float worldHeight) {
15 super(Scaling.stretch, worldWidth, worldHeight);
18 public StretchViewport (float worldWidth, float worldHeight, Camera camera) {
19 super(Scaling.stretch, worldWidth, worldHeight, camera);
ScalingViewport.java 43 public ScalingViewport (Scaling scaling, float worldWidth, float worldHeight) {
44 this(scaling, worldWidth, worldHeight, new OrthographicCamera());
47 public ScalingViewport (Scaling scaling, float worldWidth, float worldHeight, Camera camera) {
49 setWorldSize(worldWidth, worldHeight);
ExtendViewport.java 62 float worldWidth = minWorldWidth;
64 Vector2 scaled = Scaling.fit.apply(worldWidth, worldHeight, screenWidth, screenHeight);
74 worldWidth += lengthen;
77 float toViewportSpace = viewportWidth / worldWidth;
78 float toWorldSpace = worldWidth / viewportWidth;
85 setWorldSize(worldWidth, worldHeight);
Viewport.java 36 private float worldWidth, worldHeight;
50 camera.viewportWidth = worldWidth;
52 if (centerCamera) camera.position.set(worldWidth / 2, worldHeight / 2, 0);
136 return worldWidth;
140 public void setWorldWidth (float worldWidth) {
141 this.worldWidth = worldWidth;
153 public void setWorldSize (float worldWidth, float worldHeight) {
154 this.worldWidth = worldWidth;
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
CollisionSystem.java 334 final int worldWidth = mWorld.getWidth();
336 final int startTileX = worldToTileColumn(startPoint.x, worldWidth);
339 final int endTileX = worldToTileColumn(endPoint.x, worldWidth);
360 final int lateralDelta = (endTileX > 0 && endTileX < worldWidth - 1) ? Math.abs(deltaX) + 1 : Math.abs(deltaX);
    [all...]

Completed in 81 milliseconds