[Bf-blender-cvs] CVS commit: blender/source/blender/include BDR_drawobject.h BSE_view.h blender/source/blender/src drawobject.c editobject.c view.c
Martin Poirier
theeth at yahoo.com
Tue Oct 21 18:25:01 CEST 2003
theeth (Martin Poirier) 2003/10/21 18:25:01 CEST
Modified files:
blender/source/blender/include BDR_drawobject.h BSE_view.h
blender/source/blender/src drawobject.c editobject.c view.c
Log:
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
Revision Changes Path
1.7 +2 -1 blender/source/blender/include/BDR_drawobject.h
1.8 +2 -1 blender/source/blender/include/BSE_view.h
1.27 +35 -1 blender/source/blender/src/drawobject.c
1.23 +142 -19 blender/source/blender/src/editobject.c
1.12 +56 -1 blender/source/blender/src/view.c
More information about the Bf-blender-cvs
mailing list