Wrong matrix type in cone (thx Maarten)
This commit is contained in:
parent
a1d3e8a371
commit
309fa30451
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue