From 4ba3f7cad3d22937ca58b01aee35118b6b1ba82a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 2 Jul 2004 14:45:36 +0000 Subject: [PATCH] Added setFunction and setReferenceValue method --- include/osg/AlphaFunc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/osg/AlphaFunc b/include/osg/AlphaFunc index eee03a4a5..e1c09fa47 100644 --- a/include/osg/AlphaFunc +++ b/include/osg/AlphaFunc @@ -76,8 +76,10 @@ class SG_EXPORT AlphaFunc : public StateAttribute _referenceValue = ref; } + inline void setFunction(ComparisonFunction func) { _comparisonFunc=func; } inline ComparisonFunction getFunction() const { return _comparisonFunc; } + inline void setReferenceValue(float value) { _referenceValue=value; } inline float getReferenceValue() const { return _referenceValue; } virtual void apply(State& state) const;