Skip to content

Commit

Permalink
Fixed|Map Renderer: Clarified precedence of operations in arithmetic …
Browse files Browse the repository at this point in the history
…expressions
  • Loading branch information
danij-deng committed Mar 23, 2013
1 parent 44e03b1 commit 7513e4c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doomsday/client/src/render/rend_main.cpp
Expand Up @@ -2256,10 +2256,10 @@ static void Rend_BuildBspLeafSkyFixStripGeometry(BspLeaf* leaf, HEdge* startNode
if(n == 0)
{
// Add the first edge.
rvertex_t* v1 = &(*verts)[n + antiClockwise^0];
rvertex_t* v2 = &(*verts)[n + antiClockwise^1];
rtexcoord_t* t1 = coords? &(*coords)[n + antiClockwise^0] : NULL;
rtexcoord_t* t2 = coords? &(*coords)[n + antiClockwise^1] : NULL;
rvertex_t* v1 = &(*verts)[n + antiClockwise];
rvertex_t* v2 = &(*verts)[n + (antiClockwise^1)];
rtexcoord_t* t1 = coords? &(*coords)[n + antiClockwise] : NULL;
rtexcoord_t* t2 = coords? &(*coords)[n + (antiClockwise^1)] : NULL;

Rend_BuildBspLeafSkyFixStripEdge(node->HE_v1origin, zBottom, zTop, texS,
v1, v2, t1, t2);
Expand All @@ -2274,10 +2274,10 @@ static void Rend_BuildBspLeafSkyFixStripGeometry(BspLeaf* leaf, HEdge* startNode

// Add the next edge.
{
rvertex_t* v1 = &(*verts)[n + antiClockwise^0];
rvertex_t* v2 = &(*verts)[n + antiClockwise^1];
rtexcoord_t* t1 = coords? &(*coords)[n + antiClockwise^0] : NULL;
rtexcoord_t* t2 = coords? &(*coords)[n + antiClockwise^1] : NULL;
rvertex_t* v1 = &(*verts)[n + antiClockwise];
rvertex_t* v2 = &(*verts)[n + (antiClockwise^1)];
rtexcoord_t* t1 = coords? &(*coords)[n + antiClockwise] : NULL;
rtexcoord_t* t2 = coords? &(*coords)[n + (antiClockwise^1)] : NULL;

Rend_BuildBspLeafSkyFixStripEdge((antiClockwise? node->prev : node->next)->HE_v1origin,
zBottom, zTop, texS,
Expand Down

0 comments on commit 7513e4c

Please sign in to comment.