Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2006, Haiku, Inc. All Rights Reserved.
|
* Copyright 2006-2007, Haiku, Inc. All Rights Reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -132,9 +132,6 @@ FontDemoView::_DrawView(BView* view)
|
|||||||
xCoordArray[i] = 0.0f;
|
xCoordArray[i] = 0.0f;
|
||||||
yCoordArray[i] = 0.0f;
|
yCoordArray[i] = 0.0f;
|
||||||
|
|
||||||
const float height = boundBoxes[i].Height();
|
|
||||||
const float width = boundBoxes[i].Width();
|
|
||||||
|
|
||||||
yCoordArray[i] = sinus * (xCoord - xCoordArray[i]);
|
yCoordArray[i] = sinus * (xCoord - xCoordArray[i]);
|
||||||
xCoordArray[i] = cosinus * xCoord;
|
xCoordArray[i] = cosinus * xCoord;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user