FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

changed visibility of some variables in FontTexture · Variablefrog/processing@fa6ef4b · GitHub

Repository navigation

Commit fa6ef4b

Browse files
committed
changed visibility of some variables in FontTexture
1 parent 270c646 commit fa6ef4b

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

‎android/core/src/processing/opengl/FontTexture.java‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -339,17 +339,17 @@ protected void addToTexture(int idx, PFont.Glyph glyph) {
339339
}
340340

341341

342-
public class TextureInfo {
343-
public int texIndex;
344-
public int width;
345-
public int height;
346-
public int[] crop;
347-
public float u0, u1;
348-
public float v0, v1;
349-
public int[] pixels;
350-
351-
public TextureInfo(int tidx, int cropX, int cropY, int cropW, int cropH,
352-
int[] pix) {
342+
class TextureInfo {
343+
int texIndex;
344+
int width;
345+
int height;
346+
int[] crop;
347+
float u0, u1;
348+
float v0, v1;
349+
int[] pixels;
350+
351+
TextureInfo(int tidx, int cropX, int cropY, int cropW, int cropH,
352+
int[] pix) {
353353
texIndex = tidx;
354354
crop = new int[4];
355355
// The region of the texture corresponding to the glyph is surrounded by a

‎core/src/processing/opengl/FontTexture.java‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -339,17 +339,17 @@ protected void addToTexture(int idx, PFont.Glyph glyph) {
339339
}
340340

341341

342-
public class TextureInfo {
343-
public int texIndex;
344-
public int width;
345-
public int height;
346-
public int[] crop;
347-
public float u0, u1;
348-
public float v0, v1;
349-
public int[] pixels;
350-
351-
public TextureInfo(int tidx, int cropX, int cropY, int cropW, int cropH,
352-
int[] pix) {
342+
class TextureInfo {
343+
int texIndex;
344+
int width;
345+
int height;
346+
int[] crop;
347+
float u0, u1;
348+
float v0, v1;
349+
int[] pixels;
350+
351+
TextureInfo(int tidx, int cropX, int cropY, int cropW, int cropH,
352+
int[] pix) {
353353
texIndex = tidx;
354354
crop = new int[4];
355355
// The region of the texture corresponding to the glyph is surrounded by a

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL