Commit f211eb79 authored by Christian Poth's avatar Christian Poth
Browse files

Fix bug tg location.

parent aceb7211
......@@ -34,7 +34,7 @@ gazeTex = Screen('MakeTexture', scr.win, stim.matGazeStim);
fixPos = CenterRectOnPoint([1 1 size(stim.matGazeStim(:, :, 1))], scr.cx, scr.cy);
Screen('DrawTexture', scr.win, gazeTex, [], fixPos);
tx = scr.cx - va2pix(trialDesign(2), scr.distance, scr.width, scr.xRes);
tx = scr.cx + va2pix(trialDesign(2), scr.distance, scr.width, scr.xRes);
ty = scr.cy;
if trialDesign(4) % If target should be presented...
tgTex = Screen('MakeTexture', scr.win, stim.matTgStim); ...load the target texture.
......
Version: 1.0
RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment