Blender Git Loki
Git Commits -> Revision dc6ae67
Revision dc6ae67 by Dalai Felinto (master) May 20, 2009, 05:33 (GMT) |
Moving ScreenSpace methods from Rasterizer to KX_Camera (getScreenPos, getScreenVect, getScreenRay) The modules were moved in order to access the camera internal matrixes. It will make then compatible with multiple viewports in a near future. So far the problem I found was: 1) KX_Camera doesn't store the canvas viewport 2) RAS_ICanvas methods: GetDisplayArea and GetWindowArea are affected by multiple viewports (and they shouldn't). Test file is here: http://www.pasteall.org/blend/68 |
Commit Details:
Full Hash: dc6ae673b1d95d28c4fab4dbfbd9947d4a6c3bb2
SVN Revision: 20284
Parent Commit: fc9f893
Lines Changed: +189, -174