1177:8661b9237ed5 | 1178:3a88e7a60b63 |
---|---|
253 matrix(i, j) *= scale; | 253 matrix(i, j) *= scale; |
254 | 254 |
255 return matrix; | 255 return matrix; |
256 } | 256 } |
257 | 257 |
258 static const GLRotationMatrix ldrawToIdealAdapterMatrix = {1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1}; | 258 static const GLRotationMatrix ldrawToIdealAdapterMatrix = {1, 0, 0, 0, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 1}; |
259 | 259 |
260 /* | 260 /* |
261 * Converts from rea co-ordinates to ideal co-ordinates. | 261 * Converts from rea co-ordinates to ideal co-ordinates. |
262 * In ideal co-ordinates, X and Y axes correspond to the 2D X and Y as seen in the camera, and +Z is "outwards" from the screen. | 262 * In ideal co-ordinates, X and Y axes correspond to the 2D X and Y as seen in the camera, and +Z is "outwards" from the screen. |
263 */ | 263 */ |