v1.2.0: reorganized icons
This commit is contained in:
@@ -114,4 +114,8 @@ public class SmartTexture extends Texture {
|
||||
right / width,
|
||||
bottom / height );
|
||||
}
|
||||
|
||||
public RectF uvRectBySize(float left, float top, float width, float height){
|
||||
return uvRect(left, top, left+width, top+height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user