LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 case UseNone: | 1723 case UseNone: |
1724 default: | 1724 default: |
1725 break; | 1725 break; |
1726 | 1726 |
1727 static KX_Camera *gamecamera_from_bcamera(Object *ob, KX_Scene *kxscene, KX_Blen
derSceneConverter *converter) { | 1727 static KX_Camera *gamecamera_from_bcamera(Object *ob, KX_Scene *kxscene, KX_Blen
derSceneConverter *converter) { |
1728 Camera* ca = static_cast<Camera*>(ob->data); | 1728 Camera* ca = static_cast<Camera*>(ob->data); |
1729 RAS_CameraData camdata(ca->lens, ca->ortho_scale, ca->clipsta, ca->clipe
nd, ca->type == CAM_PERSP, ca->YF_dofdist); | 1729 RAS_CameraData camdata(ca->lens, ca->ortho_scale, ca->clipsta, ca->clipe
nd, ca->type == CAM_PERSP, ca->YF_dofdist); |
1730 KX_Camera *gamecamera; | 1730 KX_Camera *gamecamera; |
1731 ········ | 1731 ········ |
1732 gamecamera= new KX_Camera(kxscene, KX_Scene::m_callbacks, camdata); | 1732 gamecamera= new KX_Camera(kxscene, KX_Scene::m_callbacks, camdata); |
LEFT | RIGHT |