am a58336f6: Merge "Use fabsf() rather than abs()"
* commit 'a58336f6c8aa44373485e5a6d7ec32677387a935': Use fabsf() rather than abs()
This commit is contained in:
@@ -128,7 +128,7 @@ inline void computeBufferSize(int* totalVertexCount, int* totalIndexCount,
|
||||
}
|
||||
|
||||
inline bool needsExtraForEdge(float firstAlpha, float secondAlpha) {
|
||||
return abs(firstAlpha - secondAlpha) > ALPHA_THRESHOLD;
|
||||
return fabsf(firstAlpha - secondAlpha) > ALPHA_THRESHOLD;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user