SO3Engine
|
ALKeyFrame.cpp
Go to the documentation of this file.
128 mPosition.mValue.x = static_cast<float>(linearInterpolate<double>(mTime, prevKey.getTime(), prevKey.getPosition().mValue.x,
131 mPosition.mValue.y = static_cast<float>(linearInterpolate<double>(mTime, prevKey.getTime(), prevKey.getPosition().mValue.y,
134 mPosition.mValue.z = static_cast<float>(linearInterpolate<double>(mTime, prevKey.getTime(), prevKey.getPosition().mValue.z,
183 mScale.mValue.x = static_cast<float>(linearInterpolate<double>(mTime, prevKey.getTime(), prevKey.getScale().mValue.x,
186 mScale.mValue.y = static_cast<float>(linearInterpolate<double>(mTime, prevKey.getTime(), prevKey.getScale().mValue.y,
189 mScale.mValue.z = static_cast<float>(linearInterpolate<double>(mTime, prevKey.getTime(), prevKey.getScale().mValue.z,
237 mRotation.mValue.Interpolate(mRotation.mValue, prevKey.getRotation().mValue, nextKey.getRotation().mValue, static_cast<float>(fabs((prevKey.getTime() - nextKey.getTime()) / mTime)));
Definition ALKeyFrame.h:9
void createInterpolation(std::vector< ALKeyFrame > keyframes, aiNode *initNode)
Definition ALKeyFrame.cpp:78
Definition SO3DataScol.h:38
Generated by 1.9.8