Wrong matrix type in cone (thx Maarten)

This commit is contained in:
Paolo Cignoni 2006-03-29 07:54:03 +00:00
parent a1d3e8a371
commit 309fa30451
1 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,8 @@
* * * *
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
Histoy History
$Log: not supported by cvs2svn $
****************************************************************************/ ****************************************************************************/
#ifndef __VCG_GLADDONS #ifndef __VCG_GLADDONS
@ -347,7 +348,7 @@ public:
{ {
if (tail!=head) if (tail!=head)
{ {
Matrix44d tr; Matrix44f tr;
XAxis(tail,head,tr); XAxis(tail,head,tr);
glPushAttrib(GL_ALL_ATTRIB_BITS); glPushAttrib(GL_ALL_ATTRIB_BITS);
SetGLParameters(dm); SetGLParameters(dm);