File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11function FOV = computeFOV(cfg )
22 % FOV = computeFOV(cfg)
3+ %
34 % computes the number of degrees of visual angle in the whole field of view
45 %
56
6- FOV = 2 * (180 * (atan(cfg .monitorWidth / (2 * cfg .screenDistance )) / pi ));
7+ FOV = 2 * ...
8+ (180 * (atan(cfg .screen .monitorWidth / (2 * cfg .screen .monitorDistance )) / pi ));
79
810end
Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ function initDebug(cfg)
182182
183183function initText(cfg )
184184
185- Screen(' TextFont' , cfg .win , cfg .text .font );
186- Screen(' TextSize' , cfg .win , cfg .text .size );
187- Screen(' TextStyle' , cfg .win , cfg .text .style );
185+ Screen(' TextFont' , cfg .screen . win , cfg .text .font );
186+ Screen(' TextSize' , cfg .screen . win , cfg .text .size );
187+ Screen(' TextStyle' , cfg .screen . win , cfg .text .style );
188188
189189end
You can’t perform that action at this time.
0 commit comments