Code style (game + scripts only):

"( " --> "("
" )" --> ")"

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-07 22:59:46 +02:00
parent d19e127080
commit 49d05ba9aa
176 changed files with 4789 additions and 4789 deletions
+4 -4
View File
@@ -34,7 +34,7 @@ class Path
void SetLength(const unsigned int sz)
{
i_nodes.resize( sz );
i_nodes.resize(sz);
}
unsigned int Size() const { return i_nodes.size(); }
@@ -51,7 +51,7 @@ class Path
xd = i_nodes[ idx ].x - i_nodes[ idx-1 ].x;
yd = i_nodes[ idx ].y - i_nodes[ idx-1 ].y;
zd = i_nodes[ idx ].z - i_nodes[ idx-1 ].z;
len += sqrtf( xd*xd + yd*yd + zd*zd );
len += sqrtf(xd*xd + yd*yd + zd*zd);
}
return len;
}
@@ -64,7 +64,7 @@ class Path
xd = i_nodes[ idx ].x - i_nodes[ idx-1 ].x;
yd = i_nodes[ idx ].y - i_nodes[ idx-1 ].y;
zd = i_nodes[ idx ].z - i_nodes[ idx-1 ].z;
len += sqrtf( xd*xd + yd*yd + zd*zd );
len += sqrtf(xd*xd + yd*yd + zd*zd);
}
if (curnode > 0)
@@ -72,7 +72,7 @@ class Path
xd = x - i_nodes[curnode-1].x;
yd = y - i_nodes[curnode-1].y;
zd = z - i_nodes[curnode-1].z;
len += sqrtf( xd*xd + yd*yd + zd*zd );
len += sqrtf(xd*xd + yd*yd + zd*zd);
}
return len;