Show
Ignore:
Timestamp:
08/06/09 14:40:06 (5 years ago)
Author:
cedricpinson
Message:

From Michael Platings,
Changes to allow osgAnimation::*CubicBezierChannel? to be used
Added TemplateStepInterpolator? class

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgAnimation/Sampler

    r9531 r10527  
    11/*  -*-c++-*-  
    2  *  Copyright (C) 2008 Cedric Pinson <mornifle@plopbyte.net> 
     2 *  Copyright (C) 2008 Cedric Pinson <cedric.pinson@plopbyte.net> 
    33 * 
    44 * This library is open source and may be redistributed and/or modified under   
     
    1111 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
    1212 * OpenSceneGraph Public License for more details. 
    13 */ 
     13 * 
     14 * Authors: 
     15 *         Cedric Pinson <cedric.pinson@plopbyte.net> 
     16 *         Michael Platings <mplatings@pixelpower.com> 
     17 */ 
    1418 
    1519#ifndef OSGANIMATION_SAMPLER_H 
     
    109113 
    110114 
     115    typedef TemplateSampler<DoubleStepInterpolator> DoubleStepSampler; 
     116    typedef TemplateSampler<FloatStepInterpolator> FloatStepSampler; 
     117    typedef TemplateSampler<Vec2StepInterpolator> Vec2StepSampler; 
     118    typedef TemplateSampler<Vec3StepInterpolator> Vec3StepSampler; 
     119    typedef TemplateSampler<Vec4StepInterpolator> Vec4StepSampler; 
     120    typedef TemplateSampler<QuatStepInterpolator> QuatStepSampler; 
     121 
    111122    typedef TemplateSampler<DoubleLinearInterpolator> DoubleLinearSampler; 
    112123    typedef TemplateSampler<FloatLinearInterpolator> FloatLinearSampler; 
     
    115126    typedef TemplateSampler<Vec4LinearInterpolator> Vec4LinearSampler; 
    116127    typedef TemplateSampler<QuatSphericalLinearInterpolator> QuatSphericalLinearSampler; 
     128 
    117129    typedef TemplateSampler<FloatCubicBezierInterpolator> FloatCubicBezierSampler; 
    118130    typedef TemplateSampler<DoubleCubicBezierInterpolator> DoubleCubicBezierSampler;