[tuhopuu-cvs] CVS commit: tuhopuu2/source/blender/src editface.c
Martin Poirier
theeth at yahoo.com
Tue Dec 23 20:43:44 CET 2003
theeth (Martin Poirier) 2003/12/23 20:43:44 CET
Modified files:
tuhopuu2/source/blender/src editface.c
Log:
Center mode code for BjornMose feature.
----- Original e-mail -----
hello all
hello theeth
1.
sorry about this, but there is one thing (hope no other) that slipped when i was analyzing the code:
the object in which the mesh is embedded can define a rotation too.
the line
Mat4MulMat4(finalmatrix,tempmatrix,ob->obmat);
in the following patch
will take care ( had to do a little finalmatrix tempmatrix acrobatics since Mat4MulMat4(m1,m1.m2) scrambles m1 during calculation)
BTW is there hope for a C++ style "m1 *= m2;" for matrix operations?
as far as i know standard template library (STL) supports this.
2.
for x-mas cookie i streamlined the "centermode" code and added the "object center" option.
do you think the "median" option should be coded too ?
Revision Changes Path
1.3 +19 -19 tuhopuu2/source/blender/src/editface.c
More information about the tuhopuu-cvs
mailing list