Changed &D to use define to keep things compiling under VS6.0

This commit is contained in:
Robert Osfield
2004-05-10 16:17:46 +00:00
parent b5d583ae76
commit 3fc447af89

View File

@@ -232,7 +232,9 @@ void DirectionalSector::computeMatrix()
{
float cR = cos(_rollAngle) ;
float sR = sin(_rollAngle) ;
osg::Vec3 &D(_direction) ; // Just for clarity
// Just for clarity
#define D _direction
_local_to_LP.set(
cR*D[1]+sR*D[0]*D[2], -cR*D[0]+sR*D[1]*D[2], -sR*(D[0]*D[0]+D[1]*D[1]), 0.0,