Commit 45cf5e04 authored by David CARLIER's avatar David CARLIER

Removing register keyword, deprecated with modern compilers.

parent d72fb447
Pipeline #23625573 passed with stage
in 14 minutes 39 seconds
......@@ -64,7 +64,7 @@ inline void CrossProduct(XYZ* P, XYZ* Q, XYZ* V);
inline void CrossProduct(XYZ P, XYZ Q, XYZ* V);
inline void Normalise(XYZ* vectory);
inline float normaldotproduct(XYZ point1, XYZ point2);
inline float fast_sqrt(register float arg);
inline float fast_sqrt(float arg);
bool PointInTriangle(XYZ* p, XYZ normal, XYZ* p1, XYZ* p2, XYZ* p3);
bool LineFacet(XYZ p1, XYZ p2, XYZ pa, XYZ pb, XYZ pc, XYZ* p);
float LineFacetd(XYZ p1, XYZ p2, XYZ pa, XYZ pb, XYZ pc, XYZ* p);
......@@ -212,7 +212,7 @@ inline void CrossProduct(XYZ P, XYZ Q, XYZ* V)
V->z = P.x * Q.y - P.y * Q.x;
}
inline float fast_sqrt(register float arg)
inline float fast_sqrt(float arg)
{
return sqrtf(arg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment