Replaced GlobalAlloc with malloc.
WaveMix keeps GlobalAlloc for authenticity. Fixed float to double casts. Some cleanup.
This commit is contained in:
1 parent
55984fbb08
commit
98f234fce3
33 files changed
+171
-174
No files matched your search
@@ -47,7 +47,7 @@ void proj::xform_to_2d(vector_type* vec, int* dst)
|
||||
vector_type dstVec2{};
|
||||
|
||||
matrix_vector_multiply(&matrix, vec, &dstVec2);
|
||||
if (0.0 == dstVec2.Z)
|
||||
if (dstVec2.Z == 0.0f)
|
||||
projCoef = 999999.88f;
|
||||
else
|
||||
projCoef = d_ / dstVec2.Z;
|
||||
|
||||
Reference in new issue
Block a user