mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Simple pass over the codebase to standardize the platform types.
This commit is contained in:
parent
c75d6feb20
commit
4c35fd37af
189 changed files with 824 additions and 824 deletions
|
|
@ -819,7 +819,7 @@ U32 greatestCommonDivisor( U32 u, U32 v )
|
|||
{
|
||||
// http://en.wikipedia.org/wiki/Binary_GCD_algorithm
|
||||
|
||||
int shift;
|
||||
S32 shift;
|
||||
|
||||
/* GCD(0,x) := x */
|
||||
if (u == 0 || v == 0)
|
||||
|
|
@ -845,7 +845,7 @@ U32 greatestCommonDivisor( U32 u, U32 v )
|
|||
if (u < v) {
|
||||
v -= u;
|
||||
} else {
|
||||
unsigned int diff = u - v;
|
||||
U32 diff = u - v;
|
||||
u = v;
|
||||
v = diff;
|
||||
}
|
||||
|
|
@ -1086,7 +1086,7 @@ struct QuadSortPoint
|
|||
};
|
||||
|
||||
// Used by sortQuadWindingOrder.
|
||||
int QSORT_CALLBACK cmpAngleAscending( const void *a, const void *b )
|
||||
S32 QSORT_CALLBACK cmpAngleAscending( const void *a, const void *b )
|
||||
{
|
||||
const QuadSortPoint *p0 = (const QuadSortPoint*)a;
|
||||
const QuadSortPoint *p1 = (const QuadSortPoint*)b;
|
||||
|
|
@ -1102,7 +1102,7 @@ int QSORT_CALLBACK cmpAngleAscending( const void *a, const void *b )
|
|||
}
|
||||
|
||||
// Used by sortQuadWindingOrder.
|
||||
int QSORT_CALLBACK cmpAngleDescending( const void *a, const void *b )
|
||||
S32 QSORT_CALLBACK cmpAngleDescending( const void *a, const void *b )
|
||||
{
|
||||
const QuadSortPoint *p0 = (const QuadSortPoint*)a;
|
||||
const QuadSortPoint *p1 = (const QuadSortPoint*)b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue