Go to file
Campbell Barton 709903c6bb refactor ED_view3d_project_short & ED_view3d_project_short_noclip,
This is apart of a code cleanup to make  ED_view3d_project_short/ED_view3d_project_int/ED_view3d_project_float interchangeable. Currently they work very differently in a way thats quite confusing (and cause of bugs in blender that remain uncorrected) - fixes coming.

There are also cases where ED_view3d_project_short is used, then the values are converted from shorts into int's after because ED_view3d_project_int() behaves differently, will unify behavior of these functions after this commit.

- rather then clip/noclip versions, pass flags (for bound-box clip, window clip).
- rather then store the invalid clip-value, return success (or error value clip_near, clip_bb, clip_win, overflow).
- remove local copies of project functions from drawobject.c: view3d_project_short_clip, view3d_project_short_noclip, view3d_project_short_clip_persmat.


add functions:
- ED_view3d_project_short_global() global space projection
- ED_view3d_project_short_object() object space projection.
- ED_view3d_project_short_ex() take perspective matrix and local space option as args.
- ED_view3d_project_base() - special function to set the Object 'Base' screen coords (sx, sy), since this is a common enough operation.
2012-10-04 16:46:15 +00:00
build_files Have CPack rpm builder install the colorspace folder too 2012-10-04 15:14:15 +00:00
doc style cleanup: comment blocks 2012-10-04 13:26:15 +00:00
extern correct some include dirs not being included as SYSTEM paths in cmake. 2012-10-02 03:18:48 +00:00
intern Color Management: fallback to stub ocio implementation in cases when 2012-10-04 13:39:08 +00:00
release Fix for rtl processing of menu strings... 2012-10-04 13:49:39 +00:00
source refactor ED_view3d_project_short & ED_view3d_project_short_noclip, 2012-10-04 16:46:15 +00:00
CMakeLists.txt OSX/cmake: fix warning: go back to initial state, not the right way to get rid of this 2012-10-04 11:37:17 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake. 2012-09-16 01:35:00 +00:00
SConstruct Enable OpenColorIO for MinGW64 build targets 2012-09-16 18:05:32 +00:00