Merged Google Summer of Code sculptmode/multires/retopo tools.
From the tracker: https://projects.blender.org/tracker/index.php?func=detail&aid=5018&group_id=9&atid=127
This commit is contained in:
@@ -137,6 +137,20 @@ void sdrawXORline4(int nr, int x0, int y0, int x1, int y1)
|
||||
set_inverted_drawing(0);
|
||||
}
|
||||
|
||||
void fdrawXORellipse(float xofs, float yofs, float hw, float hh)
|
||||
{
|
||||
if(hw==0) return;
|
||||
|
||||
set_inverted_drawing(1);
|
||||
|
||||
glPushMatrix();
|
||||
glTranslatef(xofs, yofs, 0.0);
|
||||
glScalef(1,hh/hw,1);
|
||||
glutil_draw_lined_arc(0.0, M_PI*2.0, hw, 20);
|
||||
glPopMatrix();
|
||||
|
||||
set_inverted_drawing(0);
|
||||
}
|
||||
void fdrawXORcirc(float xofs, float yofs, float rad)
|
||||
{
|
||||
set_inverted_drawing(1);
|
||||
|
||||
Reference in New Issue
Block a user