InterpolatedPosition.cpp   InterpolatedPosition.cpp 
skipping to change at line 89 skipping to change at line 89
pp--; pp--;
if (pp->client_micros == INT64_MAX) break; if (pp->client_micros == INT64_MAX) break;
if (pp->client_micros <= now && now <= p->client_micros) if (pp->client_micros <= now && now <= p->client_micros)
{ {
if (pp->client_micros != p->client_micros) if (pp->client_micros != p->client_micros)
{ {
Vec3d rval = p->pos * (now - pp->client_micr os) + pp->pos * (p->client_micros - now); Vec3d rval = p->pos * (now - pp->client_micr os) + pp->pos * (p->client_micros - now);
double f = rval.lengthSquared(); double f = rval.lengthSquared();
if (f > 0.0) if (f > 0.0)
{ {
return (1.0/sqrt(f))*rval; return (1.0/std::sqrt(f))*rval;
} }
} }
break; break;
} }
p = pp; p = pp;
} }
while (p != position_pointer); while (p != position_pointer);
return Vec3d(p->pos); return Vec3d(p->pos);
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/