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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user