axisProjection can take care of zero-length vector so we don't need to check anymore. Was giving some problems with cameras looking perfectly down.

Also removed all NEWTRANSFORM defines, using the new code all the time now.
This commit is contained in:
2005-03-25 03:28:08 +00:00
parent 4bcf80bf4f
commit ea15126d75
6 changed files with 30 additions and 88 deletions

View File

@@ -559,7 +559,6 @@ void extrude_mesh(void)
EM_fgon_flags();
countall();
#ifdef NEWTRANSFORM
/* individual faces? */
if(nr==2) {
Transform(TFM_SHRINKFATTEN);
@@ -572,9 +571,6 @@ void extrude_mesh(void)
}
Transform(TFM_TRANSLATION);
}
#else
transform('g');
#endif
}
}