mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
TWINE: Remove unused variable
Thanks to eientei for reporting this
This commit is contained in:
parent
eaf173111c
commit
fe66b2e249
@ -201,7 +201,6 @@ void Holomap::prepareHolomapPolygons() {
|
||||
int holomapSurfaceArrayIdx = 0;
|
||||
_projectedSurfaceIndex = 0;
|
||||
for (int32 alpha = -ANGLE_90; alpha <= ANGLE_90; alpha += ANGLE_11_25) {
|
||||
int rotation = ANGLE_0;
|
||||
for (int32 beta = 0; beta < ANGLE_11_25; ++beta) {
|
||||
IVec3 *vec = &_holomapSurface[holomapSurfaceArrayIdx++];
|
||||
const IVec3 &destPos = _engine->_renderer->getBaseRotationPosition(vec->x, vec->y, vec->z);
|
||||
@ -213,7 +212,6 @@ void Holomap::prepareHolomapPolygons() {
|
||||
const IVec3 &projPos = _engine->_renderer->projectPositionOnScreen(destPos);
|
||||
_projectedSurfacePositions[_projectedSurfaceIndex].x1 = projPos.x;
|
||||
_projectedSurfacePositions[_projectedSurfaceIndex].y1 = projPos.y;
|
||||
rotation += ANGLE_11_25;
|
||||
++_projectedSurfaceIndex;
|
||||
}
|
||||
IVec3 *vec = &_holomapSurface[holomapSurfaceArrayIdx++];
|
||||
@ -221,7 +219,6 @@ void Holomap::prepareHolomapPolygons() {
|
||||
const IVec3 &projPos = _engine->_renderer->projectPositionOnScreen(destPos);
|
||||
_projectedSurfacePositions[_projectedSurfaceIndex].x1 = projPos.x;
|
||||
_projectedSurfacePositions[_projectedSurfaceIndex].y1 = projPos.y;
|
||||
rotation += ANGLE_11_25;
|
||||
++_projectedSurfaceIndex;
|
||||
}
|
||||
assert(holomapSortArrayIdx == ARRAYSIZE(_holomapSort));
|
||||
|
Loading…
Reference in New Issue
Block a user