diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2009-06-05 04:51:36 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2009-06-05 04:51:36 +0400 |
commit | 52b7c157a0c0d0bd1836be3149c683abf8bd1743 (patch) | |
tree | a250424dde82f38f8902e1eb48b767d9c615e995 /source/blender/imbuf | |
parent | 8154de7045db47677a367875fd619cc389f6e8d4 (diff) |
getScreenPosition, Ray and Vect fixes:
- fix for [#18867] getScreenRay error
... the Vector wasn't been added to KX_Camera origin. Therefore the Ray was always casted to the wrong coordinate when camera wasn't in [0,0,0] (where is obviously was in my tests :)
- making the input parameter compatible with Blender/BGE window coordinate system (Top-Bottom).
... that will break scripts done in 2.49. Since this feature was added only in 2.49 that fix is OK. (and the fix is ridiculous.
Note:
the input parameter is normalized. That means it runs from 0.0 to 1.0. Some users found it confusing, but it allows to make a game compatible with multiple desktop resolutions.a
Diffstat (limited to 'source/blender/imbuf')
0 files changed, 0 insertions, 0 deletions