Artifact a5a448928ab966730e054c6a18b93c66253dc09b:
- File
_lib/typical/inMap.cpp
- 2011-02-23 09:21:16 - part of checkin [4fd800b3a8] on branch trunk - Copied from private svn repository. (user: kinaba) [annotate]
- File
lib/typical/inMap.cpp
- 2011-02-23 11:18:09 - part of checkin [23dfcca431] on branch trunk - renamed _lib to lib (user: kinaba) [annotate]
0000: 0a 62 6f 6f 6c 20 69 6e 4d 61 70 28 69 6e 74 20 .bool inMap(int 0010: 48 2c 20 69 6e 74 20 57 2c 20 69 6e 74 20 79 2c H, int W, int y, 0020: 20 69 6e 74 20 78 29 0a 7b 0a 09 72 65 74 75 72 int x).{..retur 0030: 6e 20 28 30 3c 3d 79 20 26 26 20 79 3c 48 20 26 n (0<=y && y<H & 0040: 26 20 30 3c 3d 78 20 26 26 20 78 3c 57 29 3b 0a & 0<=x && x<W);. 0050: 7d 0a }.