summaryrefslogtreecommitdiffstats
path: root/src/old/particule.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-26 23:01:17 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-26 23:01:17 +0200
commitc2a7375788aea0cf1c0f4c45e4823a8a9a85264d (patch)
tree932e79f6940366a96f25fee83510a5193a7cb1e3 /src/old/particule.cpp
parentcf312c0b870175b8897ce98df6a8c46ccce92e2e (diff)
downloadcolobot-c2a7375788aea0cf1c0f4c45e4823a8a9a85264d.tar.gz
colobot-c2a7375788aea0cf1c0f4c45e4823a8a9a85264d.tar.bz2
colobot-c2a7375788aea0cf1c0f4c45e4823a8a9a85264d.zip
Removed trailing whitespace
Diffstat (limited to 'src/old/particule.cpp')
-rw-r--r--src/old/particule.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/old/particule.cpp b/src/old/particule.cpp
index b807e3d..de40b51 100644
--- a/src/old/particule.cpp
+++ b/src/old/particule.cpp
@@ -1322,7 +1322,7 @@ void CParticule::FrameParticule(float rTime)
duration = Math::Rand()*1.0f+1.0f;
mass = 0.0f;
CreateParticule(pos, speed, dim, PARTIEXPLOG1, duration, mass, 1.0f);
-
+
pos.y += 1.0f;
total = (int)(2.0f*m_engine->RetParticuleDensity());
for ( j=0 ; j<total ; j++ )
@@ -1366,7 +1366,7 @@ void CParticule::FrameParticule(float rTime)
duration = Math::Rand()*1.0f+1.0f;
mass = 0.0f;
CreateParticule(pos, speed, dim, PARTIEXPLOG1, duration, mass, 1.0f);
-
+
pos.y += 1.0f;
total = (int)(2.0f*m_engine->RetParticuleDensity());
for ( j=0 ; j<total ; j++ )
@@ -3534,7 +3534,7 @@ void CParticule::DrawParticuleSphere(int i)
// Generate the group of rings for the sphere.
j = 0;
for ( ring=0 ; ring<numRings ; ring++ )
- {
+ {
r0 = sinf((ring+0)*deltaRingAngle);
r1 = sinf((ring+1)*deltaRingAngle);
v0.y = cosf((ring+0)*deltaRingAngle);
@@ -3562,7 +3562,7 @@ void CParticule::DrawParticuleSphere(int i)
vertex[j++] = D3DVERTEX2(v1,v1, tu1,tv1);
}
}
-
+
m_pD3DDevice->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, j, NULL);
m_engine->AddStatisticTriangle(j);
@@ -3680,7 +3680,7 @@ void CParticule::DrawParticuleCylinder(int i)
vertex[j++] = D3DVERTEX2(v1,v1, tu1,tv1);
}
}
-
+
m_pD3DDevice->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, j, NULL);
m_engine->AddStatisticTriangle(j);