Revision 7ed04e6e

View differences:

server/src/Animation.cpp
63 63
//! \param  tn time now (normalized to [0...1[)
64 64
//! \return value [0...1], f[tn=0] = 0
65 65
float Animation::apply_motion_profile_positive(float tn){
66
    float result;
66
    float result = 0.0;
67 67

  
68 68
    if ((tn < 0.0) || (tn > 1.0)){
69 69
        printf("> Animation::apply_motion_profile(%4.2f) called with invalid input (allowed is [0..1])\n",tn);

Also available in: Unified diff