Open CryptoLogiq opened 5 months ago
base_calc = (needed_vFov_in_degrees - 18) setting_in_game_result = base_calc + ( math.abs( basecalc ) * 2 )
with this method dont have a negative result when positive value is not negative...
-- example :
if you needed 16 deg vFov
the current calc is : (16-18) * 2 = -4
or with solution is :
base_calc = 16 - 18 base_calc = -2
setting_in_game_result = (-2 ) + (2 * 2) setting_in_game_result = (-2 ) + 4 setting_in_game_result = 4 - 2 setting_in_game_result = 2
;)
with this method dont have a negative result when positive value is not negative...
-- example :
if you needed 16 deg vFov
the current calc is : (16-18) * 2 = -4
or with solution is :
base_calc = 16 - 18 base_calc = -2
setting_in_game_result = (-2 ) + (2 * 2) setting_in_game_result = (-2 ) + 4 setting_in_game_result = 4 - 2 setting_in_game_result = 2
;)