This file is indexed.

/usr/share/psychtoolbox-3/PsychRects/IsInRect.m is in psychtoolbox-3-common 3.0.11.20140816.dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
function inside = IsInRect(x,y,rect)
% inside = IsInRect(x,y,rect)
%
% Is location x,y inside the rect?
%
% Also see PsychRects.

% 3/5/97  dhb  Wrote it.

if (x >= rect(RectLeft) && x <= rect(RectRight) && ...
		y >= rect(RectTop) && y <= rect(RectBottom) )
	inside = 1;
else
	inside = 0;
end