From 458e10c796801f7d5ad4384d4f5b02f005121de2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 2 Jan 2004 20:44:18 +0000 Subject: [PATCH] Fixed getFogCoord methods --- include/osg/Geometry | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osg/Geometry b/include/osg/Geometry index 0d1d73284..4ddbb2938 100644 --- a/include/osg/Geometry +++ b/include/osg/Geometry @@ -212,8 +212,8 @@ class SG_EXPORT Geometry : public Drawable const IndexArray* getFogCoordIndices() const { return _fogCoordData.indices.get(); } void setFogCoordData(const ArrayData& arrayData) { _fogCoordData = arrayData; } - ArrayData& setFogCoordData() { return _fogCoordData; } - const ArrayData& setFogCoordData() const { return _fogCoordData; } + ArrayData& getFogCoordData() { return _fogCoordData; } + const ArrayData& getFogCoordData() const { return _fogCoordData; }