TempleOSCDV4.06.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:47:19 +02:00
1 parent 6fe38d2d9d
commit b632ab9a4f
261 files changed
+6282 -5801

No files matched your search

+4 -4
View File
@@ -10,18 +10,18 @@ F64 Cost(CMathODE *ode)
{
MyMass *tempm;
MySpring *temps;
F64 result=0;
F64 res=0;
tempm=ode->next_mass;
while (tempm!=&ode->next_mass) {
result+=tempm->cost;
res+=tempm->cost;
tempm=tempm->next;
}
temps=ode->next_spring;
while (temps!=&ode->next_spring) {
result+=temps->cost;
res+=temps->cost;
temps=temps->next;
}
return result;
return res;
}
U0 DrawIt(CTask *task,CDC *dc)