Esempio n. 1
0
 public OGLTexture(OGLTextureSheet tex, int x, int y)
 {
     mode     = OGLTextureMode.TM_REFERENCE_XY;
     texSheet = tex;
     sheetX   = x;
     sheetY   = y;
 }
Esempio n. 2
0
 public OGLTexture(OGLTextureSheet tex, int pos)
 {
     mode     = OGLTextureMode.TM_REFERENCE_POS;
     texSheet = tex;
     sheetPos = pos;
 }