diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-16 04:21:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-16 04:26:07 +0300 |
commit | 2f737c4f475a5625f9140b84ffd55435ca2fd805 (patch) | |
tree | 900754833493ba12e26aefdeb9fde9bd1776b4cb /source/blender/makesdna/DNA_view3d_types.h | |
parent | ec471a9b1c14ea5dcb855de7e570e27ad70661c5 (diff) |
DNA: rename near/far -> clip_start/clip_end
Rename for Camera, View3D (also CameraParams & Render not DNA)
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 633a9dd07b5..106328aa31f 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -44,15 +44,6 @@ struct wmTimer; #include "DNA_movieclip_types.h" #include "DNA_gpu_types.h" -/* ******************************** */ - -/* The near/far thing is a Win EXCEPTION, caused by indirect includes from <windows.h>. - * Thus, leave near/far in the code, and undef for windows. */ -#ifdef _WIN32 -# undef near -# undef far -#endif - typedef struct RegionView3D { /** GL_PROJECTION matrix. */ @@ -275,7 +266,7 @@ typedef struct View3D { int flag2; float lens, grid; - float near, far; + float clip_start, clip_end; float ofs[3] DNA_DEPRECATED; char _pad[4]; |