mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 17:58:17 +08:00
Minor things
This commit is contained in:
1 parent
cafe4e38db
commit
f60e3d667a
3 files changed
+3
-1
No files matched your search
+1
-1
@@ -272,7 +272,7 @@ uint8 CRadar::CalculateBlipAlpha(float dist)
|
||||
return 255;
|
||||
|
||||
if (dist <= 10.0f)
|
||||
return (128.0f * ((dist - 1.0f) / 4.0f)) + ((1.0f - (dist - 1.0f) / 4.0f) * 255.0f);
|
||||
return (128.0f * ((dist - 1.0f) / 9.0f)) + ((1.0f - (dist - 1.0f) / 9.0f) * 255.0f);
|
||||
|
||||
return 128;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user