Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2005-06-05 17:50:21 +0400
committerMartin Poirier <theeth@yahoo.com>2005-06-05 17:50:21 +0400
commitc00adc5ff8045db65fd15576b0addfd9e5c0eece (patch)
treeb7540ce13ea2da2308337c716701a7b945e81afa /source/blender/include/BSE_view.h
parent38202abff8e625b313f81abffb4b90ef53f464d9 (diff)
Transform 2D center was using short. Not good enough when it's it's way off screen. Switched to ints, that fixed the bug in the tracker.
Switching to floats would probably be safer in the long term, but too many things to test to do that now.
Diffstat (limited to 'source/blender/include/BSE_view.h')
-rw-r--r--source/blender/include/BSE_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h
index 49a41e26ab1..67aa7bfd6ad 100644
--- a/source/blender/include/BSE_view.h
+++ b/source/blender/include/BSE_view.h
@@ -50,6 +50,7 @@ void initgrabz(float x, float y, float z);
void window_to_3d(float *vec, short mx, short my);
void project_short(float *vec, short *adr);
void project_short_noclip(float *vec, short *adr);
+void project_int(float *vec, int *adr);
void project_float(float *vec, float *adr);
int boundbox_clip(float obmat[][4], struct BoundBox *bb);
void fdrawline(float x1, float y1, float x2, float y2);