projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Earth gravity added to calculations.
[speedfreak]
/
Client
/
calculate.cpp
diff --git
a/Client/calculate.cpp
b/Client/calculate.cpp
index
769c92a
..
aa579ec
100644
(file)
--- a/
Client/calculate.cpp
+++ b/
Client/calculate.cpp
@@
-64,6
+64,8
@@
void Calculate::reset()
void Calculate::calculateParameters(double currentAcceleration, double seconds)
{
double force, power1, power2;
+
+ currentAcceleration *= G_ACCELERATION;
numOfIterations++;
totalTime = (totalTime + seconds);