Is the right thing to do here, or should it be rounded?
This commit is contained in:
@@ -412,7 +412,7 @@ void NoteField::DrawPrimitives()
|
|||||||
float fCenteredTimesBoomerang =
|
float fCenteredTimesBoomerang =
|
||||||
current_po.m_fScrolls[PlayerOptions::SCROLL_CENTERED] *
|
current_po.m_fScrolls[PlayerOptions::SCROLL_CENTERED] *
|
||||||
current_po.m_fAccels[PlayerOptions::ACCEL_BOOMERANG];
|
current_po.m_fAccels[PlayerOptions::ACCEL_BOOMERANG];
|
||||||
iFirstPixelToDraw += SCALE( fCenteredTimesBoomerang, 0.f, 1.f, 0.f, -SCREEN_HEIGHT/2 );
|
iFirstPixelToDraw += int(SCALE( fCenteredTimesBoomerang, 0.f, 1.f, 0.f, -SCREEN_HEIGHT/2 ));
|
||||||
int iLastPixelToDraw = m_iEndDrawingPixel;
|
int iLastPixelToDraw = m_iEndDrawingPixel;
|
||||||
|
|
||||||
float fDrawScale = 1;
|
float fDrawScale = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user