Fixed the names of the ControlPoint parameters so they weren't capitals, to avoid

the clash with the parameter type itself.

Addd a PER_PRIMTIIVE_SET handling to the existing PER_PRIMTIIVE code, this code
is still flacky though and needs a rewrite as it doens't handle all attributes or
the full consequences of per primitive and per primitive set bindings.
This commit is contained in:
Robert Osfield
2002-10-10 14:58:44 +00:00
parent 6ba195efea
commit bfd614f907
3 changed files with 8 additions and 5 deletions

View File

@@ -3,9 +3,9 @@
using namespace osg;
void AnimationPath::insert(double time,const ControlPoint& ControlPoint)
void AnimationPath::insert(double time,const ControlPoint& controlPoint)
{
_timeControlPointMap[time] = ControlPoint;
_timeControlPointMap[time] = controlPoint;
}
bool AnimationPath::getInterpolatedControlPoint(double time,ControlPoint& controlPoint) const