OLD | NEW |
1 /* | 1 /* |
2 * $Id$ | 2 * $Id$ |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version.· | 9 * of the License, or (at your option) any later version.· |
10 * | 10 * |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 /* Depth buffer */ | 192 /* Depth buffer */ |
193 void ED_view3d_depth_update(struct ARegion *ar); | 193 void ED_view3d_depth_update(struct ARegion *ar); |
194 float ED_view3d_depth_read_cached(struct ViewContext *vc, int x, int y); | 194 float ED_view3d_depth_read_cached(struct ViewContext *vc, int x, int y); |
195 void ED_view3d_depth_tag_update(struct RegionView3D *rv3d); | 195 void ED_view3d_depth_tag_update(struct RegionView3D *rv3d); |
196 | 196 |
197 /* Projection */ | 197 /* Projection */ |
198 #define IS_CLIPPED 12000 | 198 #define IS_CLIPPED 12000 |
199 | 199 |
200 void ED_view3d_calc_clipping(struct BoundBox *bb, float planes[4][4], struct bgl
Mats *mats, struct rcti *rect); | 200 void ED_view3d_calc_clipping(struct BoundBox *bb, float planes[4][4], struct bgl
Mats *mats, struct rcti *rect); |
| 201 void ED_view3d_calc_clipping_camera(struct BoundBox *bb, float planes[4][4], str
uct Scene *scene); |
201 | 202 |
202 void project_short(struct ARegion *ar, const float vec[3], short adr[2]); | 203 void project_short(struct ARegion *ar, const float vec[3], short adr[2]); |
203 void project_short_noclip(struct ARegion *ar, const float vec[3], short adr[2]); | 204 void project_short_noclip(struct ARegion *ar, const float vec[3], short adr[2]); |
204 | 205 |
205 void project_int(struct ARegion *ar, const float vec[3], int adr[2]); | 206 void project_int(struct ARegion *ar, const float vec[3], int adr[2]); |
206 void project_int_noclip(struct ARegion *ar, const float vec[3], int adr[2]); | 207 void project_int_noclip(struct ARegion *ar, const float vec[3], int adr[2]); |
207 | 208 |
208 void project_float(struct ARegion *ar, const float vec[3], float adr[2]); | 209 void project_float(struct ARegion *ar, const float vec[3], float adr[2]); |
209 void project_float_noclip(struct ARegion *ar, const float vec[3], float adr[2]); | 210 void project_float_noclip(struct ARegion *ar, const float vec[3], float adr[2]); |
210 | 211 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 unsigned int ED_viewedit_datamask(struct bScreen *screen); | 287 unsigned int ED_viewedit_datamask(struct bScreen *screen); |
287 | 288 |
288 /* camera lock functions */ | 289 /* camera lock functions */ |
289 int ED_view3d_camera_lock_check(struct View3D *v3d, struct RegionView3D *rv3d); | 290 int ED_view3d_camera_lock_check(struct View3D *v3d, struct RegionView3D *rv3d); |
290 /* copy the camera to the view before starting a view transformation */ | 291 /* copy the camera to the view before starting a view transformation */ |
291 void ED_view3d_camera_lock_init(struct View3D *v3d, struct RegionView3D *rv3d); | 292 void ED_view3d_camera_lock_init(struct View3D *v3d, struct RegionView3D *rv3d); |
292 /* copy the view to the camera, return TRUE if */ | 293 /* copy the view to the camera, return TRUE if */ |
293 int ED_view3d_camera_lock_sync(struct View3D *v3d, struct RegionView3D *rv3d); | 294 int ED_view3d_camera_lock_sync(struct View3D *v3d, struct RegionView3D *rv3d); |
294 | 295 |
295 #endif /* ED_VIEW3D_H */ | 296 #endif /* ED_VIEW3D_H */ |
OLD | NEW |