diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-10 07:03:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-10 07:03:53 +0400 |
commit | 2889f5ae2c8636037462791c013c22dbdfed81de (patch) | |
tree | d5d37a83b9719b0b9a246ebe05abf9f499ac920c /source/blender/makesdna/DNA_camera_types.h | |
parent | 14c3714b81b0c264ff8e117f0230330cc0514ed2 (diff) |
camera composition guides: center, thirds, golden rule
Diffstat (limited to 'source/blender/makesdna/DNA_camera_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_camera_types.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h index 4ebd7318ea8..d64b72c6f40 100644 --- a/source/blender/makesdna/DNA_camera_types.h +++ b/source/blender/makesdna/DNA_camera_types.h @@ -47,7 +47,9 @@ typedef struct Camera { ID id; struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ - short type, flag; + char type; /* CAM_PERSP or CAM_ORTHO */ + char dtx; /* draw type extra */ + short flag; float passepartalpha; float clipsta, clipend; float lens, ortho_scale, drawsize; @@ -69,6 +71,14 @@ typedef struct Camera { #define CAM_PERSP 0 #define CAM_ORTHO 1 +/* dtx */ +#define CAM_DTX_CENTER 1 +#define CAM_DTX_CENTER_DIAG 2 +#define CAM_DTX_THIRDS 4 +#define CAM_DTX_GOLDEN 8 +#define CAM_DTX_GOLDEN_DIAG_H 16 +#define CAM_DTX_GOLDEN_DIAG_V 32 + /* flag */ #define CAM_SHOWLIMITS 1 #define CAM_SHOWMIST 2 |