mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
GLDraw: DrawGL
git-svn-id: svn://ultimatepp.org/upp/trunk@12413 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e6b5d3129c
commit
834494ae5a
11 changed files with 64 additions and 78 deletions
|
|
@ -4,6 +4,7 @@ namespace Upp {
|
|||
|
||||
void GLArc(Vector<Vector<Pointf>>& line, const Rectf& rc, Pointf start, Pointf end)
|
||||
{
|
||||
GL_TIMING("GLArc");
|
||||
if(rc.Width() <= 0 || rc.Height() <= 0)
|
||||
return;
|
||||
Sizef radius = Sizef(rc.Size()) / 2.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue