From Wojciech Lawandowski, "Fixed EllipsoidModel::computeLocalUpVector to use Vec3d instead of Vec3 for
normal computation. Its really small issue, maybe not even worth submitting ;-). But one never knows when inadequate precision hits him. "
This commit is contained in:
parent
847a384101
commit
d003972a5f
@ -218,7 +218,7 @@ inline void EllipsoidModel::computeLocalToWorldTransformFromXYZ(double X, double
|
||||
|
||||
inline osg::Vec3d EllipsoidModel::computeLocalUpVector(double X, double Y, double Z) const
|
||||
{
|
||||
osg::Vec3 normal(X,Y,Z);
|
||||
osg::Vec3d normal(X,Y,Z);
|
||||
normal.normalize();
|
||||
return normal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user