TextureAtom.ltwh constructor
Implementation
TextureAtom.ltwh(
int x, int y, this.len, this.hgt, this.textureName, this.tl, this.th) {
tx1 = x / tl;
tx2 = (x + len) / tl;
ty1 = (y + hgt) / th;
ty2 = y / th;
frames = 1;
fps = 1;
}
TextureAtom.ltwh(
int x, int y, this.len, this.hgt, this.textureName, this.tl, this.th) {
tx1 = x / tl;
tx2 = (x + len) / tl;
ty1 = (y + hgt) / th;
ty2 = y / th;
frames = 1;
fps = 1;
}