rename COORD_MULTIPLIER to COORD_SCALE
This commit is contained in:
@@ -36,7 +36,7 @@ import android.util.Log;
|
||||
*/
|
||||
public class ExtrusionLayer extends Layer {
|
||||
private final static String TAG = ExtrusionLayer.class.getName();
|
||||
private static final float S = GLRenderer.COORD_MULTIPLIER;
|
||||
private static final float S = GLRenderer.COORD_SCALE;
|
||||
private int mNumVertices = 0;
|
||||
private final VertexPoolItem mVertices;
|
||||
private VertexPoolItem mCurVertices;
|
||||
|
||||
@@ -28,7 +28,7 @@ import android.graphics.Paint.Cap;
|
||||
* @author Hannes Janetzek
|
||||
*/
|
||||
public final class LineLayer extends Layer {
|
||||
private static final float COORD_SCALE = GLRenderer.COORD_MULTIPLIER;
|
||||
private static final float COORD_SCALE = GLRenderer.COORD_SCALE;
|
||||
// scale factor mapping extrusion vector to short values
|
||||
public static final float DIR_SCALE = 2048;
|
||||
// mask for packing last two bits of extrusion vector with texture
|
||||
|
||||
@@ -65,7 +65,7 @@ public final class LineTexLayer extends Layer {
|
||||
// - in our case there is always the polygon fill array at start
|
||||
// - see addLine hack otherwise.
|
||||
|
||||
private static final float COORD_SCALE = GLRenderer.COORD_MULTIPLIER;
|
||||
private static final float COORD_SCALE = GLRenderer.COORD_SCALE;
|
||||
// scale factor mapping extrusion vector to short values
|
||||
public static final float DIR_SCALE = 2048;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.oscim.renderer.GLRenderer;
|
||||
import org.oscim.theme.renderinstruction.Area;
|
||||
|
||||
public final class PolygonLayer extends Layer {
|
||||
private static final float S = GLRenderer.COORD_MULTIPLIER;
|
||||
private static final float S = GLRenderer.COORD_SCALE;
|
||||
|
||||
public Area area;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user