Commit 73a22af
committed
Actually, the camera_to_world scale factor should just be 2.
The 640x480 image is actually the result of cropping the 1280x1024 image
down to 1280x960 and then scaling by .5, so aspect ratio is preserved,
and we should scale x and y by exactly 2.
Thanks to Kyle McDonald for paying attention to detail and pointing this out.
Signed-off-by: Drew Fisher <[email protected]>1 parent aed0262 commit 73a22af
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | 322 | | |
324 | 323 | | |
325 | | - | |
326 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
327 | 330 | | |
328 | 331 | | |
329 | 332 | | |
| |||
0 commit comments