447
447
/* move vector back */
448
448
Mat4Mul3Vecfl(imat, dirvec);
450
if(0.0f != Normalise(dirvec)) {
450
if(0.0f != Normalize(dirvec)) {
451
451
float norvec[3], vec1[3], vec2[3], vec[3];
591
591
/* move vector back */
592
592
Mat4Mul3Vecfl(imat, dirvec);
594
if(0.0f != Normalise(dirvec)) {
594
if(0.0f != Normalize(dirvec)) {
595
595
float norvech[3], norvect[3], vec[3];
597
597
VECCOPY(vec, dirvec);
759
759
gluDeleteQuadric(qobj);
762
static char bm_dot6[]= {0x0, 0x18, 0x3C, 0x7E, 0x7E, 0x3C, 0x18, 0x0};
763
static char bm_dot8[]= {0x3C, 0x7E, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x3C};
762
static GLubyte bm_dot6[]= {0x0, 0x18, 0x3C, 0x7E, 0x7E, 0x3C, 0x18, 0x0};
763
static GLubyte bm_dot8[]= {0x3C, 0x7E, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x3C};
765
static char bm_dot5[]= {0x0, 0x0, 0x10, 0x38, 0x7c, 0x38, 0x10, 0x0};
766
static char bm_dot7[]= {0x0, 0x38, 0x7C, 0xFE, 0xFE, 0xFE, 0x7C, 0x38};
765
static GLubyte bm_dot5[]= {0x0, 0x0, 0x10, 0x38, 0x7c, 0x38, 0x10, 0x0};
766
static GLubyte bm_dot7[]= {0x0, 0x38, 0x7C, 0xFE, 0xFE, 0xFE, 0x7C, 0x38};
769
769
static void draw_line_bone(int armflag, int boneflag, int constflag, unsigned int id, bPoseChannel *pchan, EditBone *ebone)
840
840
else if(constflag & PCHAN_HAS_CONST) glColor3ub(0, 255, 120);
841
841
else BIF_ThemeColor(TH_BONE_POSE); // PCHAN_HAS_ACTION
843
else BIF_ThemeColor(TH_BACK);
843
else BIF_ThemeColorShade(TH_BACK, -30);
861
861
if(armflag & ARM_EDITMODE) {
862
862
if (boneflag & BONE_SELECTED) BIF_ThemeColor(TH_EDGE_SELECT);
863
else BIF_ThemeColor(TH_BACK);
863
else BIF_ThemeColorShade(TH_BACK, -30);
865
865
glBegin(GL_LINES);
866
866
glVertex3f(0.0f, 0.0f, 0.0f);