| 30 | } |
| 31 | |
| 32 | float CrosshairData::GetRadius() const |
| 33 | { |
| 34 | // Get screen aspect ratio. |
| 35 | auto screenRes = g_Renderer.GetScreenResolution().ToVector2(); |
| 36 | float screenResAspect = screenRes.x / screenRes.y; |
| 37 | |
| 38 | return ((((DISPLAY_SPACE_RES.x * Scale) / 2) * (RadiusScale * PulseScale)) * screenResAspect); |
| 39 | } |
| 40 | |
| 41 | Vector2 CrosshairData::GetPositionOffset(short orientOffset) const |
| 42 | { |
nothing calls this directly
no test coverage detected