Skip to content

Commit

Permalink
Merge pull request #1245 from JonBons/optics-21by9
Browse files Browse the repository at this point in the history
Add support for 21:9 resolutions to CBA optics addon.
  • Loading branch information
commy2 committed Oct 26, 2019
2 parents 855b523 + 43f4caa commit a2b02af
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified addons/optics/cba_optic_big_pip.p3d
Binary file not shown.
Binary file modified addons/optics/cba_optic_small_pip.p3d
Binary file not shown.
2 changes: 1 addition & 1 deletion addons/optics/fnc_animateScriptedOptic.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ GVAR(camera) camCommitPrepared 0;

// @todo, check if that needs to be done at all
if (cameraView == "GUNNER") then {
GVAR(camera) camSetFOV 0.7;
GVAR(camera) camSetFOV 0.75;
GVAR(camera) camCommit 0;
} else {
GVAR(camera) camSetFOV 0.01;
Expand Down
2 changes: 1 addition & 1 deletion addons/optics/fnc_restartCamera.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (_reset) then {

// PIP technique by BadBenson
GVAR(camera) = "camera" camCreate positionCameraToWorld [0,0,0];
GVAR(camera) camSetFov 0.7;
GVAR(camera) camSetFov 0.75;
GVAR(camera) camSetTarget _unit;
GVAR(camera) camCommit 1;

Expand Down

0 comments on commit a2b02af

Please sign in to comment.