Closed GoogleCodeExporter closed 9 years ago
Sorry, the pasted code was from an earlier revision. Revision 76 code is
actually:
for (int k = 0; k <= nn; ++k)
{
float u = (float)k/(float)nn;
float* pos = &edge[k*3];
pos[0] = vj[0] + dx*u;
pos[1] = vj[1] + dy*u;
pos[2] = vj[2] + dz*u;
pos[1] = getHeight(pos, cs, ics, hp)*chf.ch;
}
Original comment by steve...@gmail.com
on 26 Nov 2009 at 7:20
Another note.
If the "pos[1] = vj[1] + dy*u;" line of code is removed, then the dy variable
can
also be removed since it is only used in this single location.
Original comment by steve...@gmail.com
on 26 Nov 2009 at 7:30
Fixed in R82. I also changed the function so that only the required components
are
passed.
Original comment by memono...@gmail.com
on 7 Dec 2009 at 9:48
Original issue reported on code.google.com by
steve...@gmail.com
on 26 Nov 2009 at 7:13