|
From: James W. W. <os...@jw...> - 2006-07-20 15:41:41
|
On Jul 20, 2006, at 5:05 AM, Roger Holmes wrote: > > On 20 Jul, 2006, at 01:23, James W. Walker wrote: > >> Can anyone explain why IRUpdate.c defines kAALineSize and >> kAAPointSize as 0.5? I'd think that 1.0 would be a more obvious >> value. > > > No I can't explain it but the value is used in only one place, and > a few > lines further up it calls glDisable(GL_POLYGON_SMOOTH) which disables > point antialiasing, and in that condition the value gets rounded to > an integer. A few lines later, there is glEnable(GL_POINT_SMOOTH), and depending on the style, there is glEnable(GL_LINE_SMOOTH). Therefore, when the antialiasing happens, the width is not rounded to an integer. |