---------------------------------------------------------------------
| 2413 | } |
| 2414 | //--------------------------------------------------------------------- |
| 2415 | void MeshSerializerImpl::writePoseKeyframe( const VertexPoseKeyFrame *kf ) |
| 2416 | { |
| 2417 | writeChunkHeader( M_ANIMATION_POSE_KEYFRAME, calcPoseKeyframeSize( kf ) ); |
| 2418 | // float time |
| 2419 | float timePos = kf->getTime(); |
| 2420 | writeFloats( &timePos, 1 ); |
| 2421 | pushInnerChunk( mStream ); |
| 2422 | // pose references |
| 2423 | VertexPoseKeyFrame::ConstPoseRefIterator poseRefIt = kf->getPoseReferenceIterator(); |
| 2424 | while( poseRefIt.hasMoreElements() ) |
| 2425 | { |
| 2426 | writePoseKeyframePoseRef( poseRefIt.getNext() ); |
| 2427 | } |
| 2428 | popInnerChunk( mStream ); |
| 2429 | } |
| 2430 | //--------------------------------------------------------------------- |
| 2431 | void MeshSerializerImpl::writePoseKeyframePoseRef( const VertexPoseKeyFrame::PoseRef &poseRef ) |
| 2432 | { |
nothing calls this directly
no test coverage detected