| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 270c646 commit fa6ef4b
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -339,17 +339,17 @@ protected void addToTexture(int idx, PFont.Glyph glyph) { | |||
| 339 | 339 | } | |
| 340 | 340 | ||
| 341 | 341 | ||
| 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) { | ||
| 353 | 353 | texIndex = tidx; | |
| 354 | 354 | crop = new int[4]; | |
| 355 | 355 | // The region of the texture corresponding to the glyph is surrounded by a | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -339,17 +339,17 @@ protected void addToTexture(int idx, PFont.Glyph glyph) { | |||
| 339 | 339 | } | |
| 340 | 340 | ||
| 341 | 341 | ||
| 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) { | ||
| 353 | 353 | texIndex = tidx; | |
| 354 | 354 | crop = new int[4]; | |
| 355 | 355 | // The region of the texture corresponding to the glyph is surrounded by a | |
| Back | FazBrowse Home | New Git URL |
0 commit comments