mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
remove unused lowest_bit() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a5fa53dfff
commit
b1e54659ca
1 changed files with 0 additions and 9 deletions
|
@ -131,15 +131,6 @@ inline static QTabBar::Shape tabBarShapeFrom(QTabWidget::TabShape shape, QTabWid
|
|||
}
|
||||
#endif // QT_NO_TABWIDGET
|
||||
|
||||
// Returns position of lowest set bit in 'v' as an integer (0-31), or -1
|
||||
inline static int lowest_bit(uint v)
|
||||
{
|
||||
int i;
|
||||
ulong lb = 1;
|
||||
for (i=0; ((v & lb) == 0) && i<32; i++, lb<<=1) {}
|
||||
return i==32 ? -1 : i;
|
||||
}
|
||||
|
||||
static const qreal inv_dist_to_plane = 1. / 1024.;
|
||||
|
||||
// use the same rounding as in qrasterizer.cpp (6 bit fixed point)
|
||||
|
|
Loading…
Add table
Reference in a new issue