MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Is3dssEnabled

Method Is3dssEnabled

ogsr_engine/xrGame/Weapon.cpp:2085–2089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2083}
2084
2085bool CWeapon::Is3dssEnabled() const
2086{
2087 const auto& zoom_params = shader_exports.get_custom_params("s3ds_param_2");
2088 return !fis_zero(zoom_params.w) && !IsGrenadeMode() && psActorFlags.test(AF_3D_SCOPES);
2089}
2090
2091// Чувствительность мышки с оружием в руках во время прицеливания
2092float CWeapon::GetControlInertionFactor() const

Callers 3

UpdateCLMethod · 0.80
UpdateMethod · 0.80
DrawMethod · 0.80

Calls 2

fis_zeroFunction · 0.85
testMethod · 0.45

Tested by

no test coverage detected