[Plib-users] bug in ssgOptimiser?
Brought to you by:
sjbaker
|
From: <lo...@sl...> - 2002-10-01 02:29:21
|
hello all,
In ssgOptimiser.cxx from CVS Sept. 30, at the end of the
OptVertexList::makeNormals function there is the following chunk of code
(roughly line 323):
for ( i = 0 ; i < vnum ; i++ )
if ( sgScalarProductVec2 ( vlist[i]->normal, vlist[i]->normal ) <
0.001 )
sgSetVec3 ( vlist[i]->normal, 0.0f, 0.0f, 1.0f ) ;
else
sgNormaliseVec3 ( vlist [ i ] -> normal ) ;
My belief is that the call to sgScalarProductVec2 should really be a call
to sgScalarProductVec3. Please correct me if I'm wrong.
Thanks,
Jeff Long
PGP public key at http://www.slothmud.org/~long/long.gpg
|