Merge branch 'main' of github.com:tobid7/amethyst
This commit is contained in:
@@ -209,8 +209,8 @@ void Iron::Drawlist::DrawCircleFilled(const fvec2& center, float rad, ui color,
|
||||
PathFill(color);
|
||||
}
|
||||
|
||||
void Iron::Drawlist::DrawCutTex(fvec2 pos, fvec2 size, fvec4 cut_rect,
|
||||
ui color) {
|
||||
void Iron::Drawlist::DrawFromAtlas(fvec2 pos, fvec2 size, fvec4 cut_rect,
|
||||
ui color) {
|
||||
auto r = Iron::PrimRect(pos, size);
|
||||
auto cmd = NewCommand();
|
||||
auto uv = cut_rect / fvec4(pTex->Size(), pTex->Size());
|
||||
|
||||
Reference in New Issue
Block a user