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>2003-10-21 20:25:00 +0400
committerMartin Poirier <theeth@yahoo.com>2003-10-21 20:25:00 +0400
commit41f4940bff2c6ba3f17c69fbae6d6e8cfec8867f (patch)
tree2c928e00e1efb18e8ee5e0d053498139c4060f2a /source/blender/include/BDR_drawobject.h
parent8280cab690aa6c7b9c4029d276f74885b5544b2b (diff)
Helpline drawing in transform (semi broken in this commit)
This is only usefull for rotate now, but the axis constraining code has a part that depended on this, so I commit this part first. For coders: void constline(float *center, float *dir, int col) Draw an infinite line on the screen. col is the color argument. It must be cpack compatible void project_short_infiniteline(float *vec, float *dir, short *adr1, short *adr2); clips infinite line to screen border
Diffstat (limited to 'source/blender/include/BDR_drawobject.h')
-rw-r--r--source/blender/include/BDR_drawobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BDR_drawobject.h b/source/blender/include/BDR_drawobject.h
index f12474eb299..54c0b11d18c 100644
--- a/source/blender/include/BDR_drawobject.h
+++ b/source/blender/include/BDR_drawobject.h
@@ -47,6 +47,7 @@ struct Base;
void init_draw_rects(void);
void helpline(float *vec);
+void constline(float *center, float *dir, int col);
void drawaxes(float size);
void drawcamera(struct Object *ob);
void calc_lattverts_ext(void);