mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-05-25 13:08:24 -04:00
Replace Math with MathF
This commit is contained in:
@@ -256,7 +256,7 @@ namespace AssetStudio
|
||||
}
|
||||
|
||||
int lastComponent = (int)(flags & 3);
|
||||
q[lastComponent] = (float)Math.Sqrt(1 - sum);
|
||||
q[lastComponent] = MathF.Sqrt(1 - sum);
|
||||
if ((flags & 4) != 0u)
|
||||
q[lastComponent] = -q[lastComponent];
|
||||
data[i] = q;
|
||||
|
||||
Reference in New Issue
Block a user