From e3b678d80e72fe6c563fa2c96bbd3108577be0b0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 21 Jan 2005 22:54:04 +0000 Subject: [PATCH] don' draw full stem in filled mode --- Graphics/Entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Graphics/Entity.cpp b/Graphics/Entity.cpp index bf2c0c8f25..2227ff34da 100644 --- a/Graphics/Entity.cpp +++ b/Graphics/Entity.cpp @@ -1,4 +1,4 @@ -// $Id: Entity.cpp,v 1.52 2005-01-21 05:31:15 geuzaine Exp $ +// $Id: Entity.cpp,v 1.53 2005-01-21 22:54:04 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -274,7 +274,7 @@ void Draw_SimpleVector(int arrow, int fill, if(fill) { glBegin(GL_LINES); glVertex3d(x, y, z); - glVertex3d(x + dx, y + dy, z + dz); + glVertex3d(x + f1 * dx, y + f1 * dy, z + f1 * dz); glEnd(); if(light && fill) glEnable(GL_LIGHTING); -- GitLab