Ignore:
Timestamp:
06/02/15 20:56:15 (10 years ago)
Author:
epyon
Message:
  • more work on stl
  • fully working vectors!
  • copy & copy_n
  • removal of a lot of std code!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/formats/md5_loader.cc

    r376 r383  
    4848
    4949        // MESH data
    50         std::vector<md5_joint_info> joint_infos;
    51         std::vector<transform>      base_frames;
     50        dynamic_array< md5_joint_info > joint_infos;
     51        vector< transform >             base_frames;
    5252        size_t num_animated_components = 0;
    5353        size_t frame_rate = 0;
     
    301301                else if ( command == "frame" )
    302302                {
    303                         std::vector<float> frame;
     303                        vector<float> frame;
    304304                        uint32 frame_id;
    305305                        sstream >> frame_id;
     
    454454}
    455455
    456 void md5_loader::build_frame_skeleton( mesh_node_data* nodes, uint32 index, const std::vector<md5_joint_info>& joint_infos, const std::vector<transform>& base_frames, const std::vector<float>& frame_data )
     456void md5_loader::build_frame_skeleton( mesh_node_data* nodes, uint32 index, const const_array_ref<md5_joint_info>& joint_infos, const const_array_ref<transform>& base_frames, const const_array_ref<float>& frame_data )
    457457{
    458458        assert( m_type == ANIMATION );
Note: See TracChangeset for help on using the changeset viewer.