Ignore:
Timestamp:
07/10/14 00:29:34 (11 years ago)
Author:
epyon
Message:
  • key_slots - another template hell similar to vertex definitions
  • animation data is now stored using key_raw_channel's similarly to mesh_raw_channels
  • automatic compile-time templated interpolation generation for any type of animation key
  • QUAT and TRANSFORM as registered types for channels
  • a ton of minor cleanups
  • do not open vertex.hh if you want to stay sane
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/formats/md3_loader.hh

    r241 r282  
    2323namespace nv
    2424{
     25        struct md3_key
     26        {
     27                transform tform;
     28        };
     29
    2530
    2631        class md3_loader : public mesh_loader
     
    3641                virtual tag_map* create_tag_map();
    3742        private:
    38                 void load_tags( transform_vector& t, const std::string& tag );
     43                key_raw_channel* load_tags( const std::string& tag );
    3944                void* m_md3;
    40 
    41                 struct md3_tag
    42                 {
    43                         std::string name;
    44                         transform   trans;
    45                 };
    46 
    47                 std::unordered_map< std::string, md3_tag > m_tags;
    4845        };
    4946
Note: See TracChangeset for help on using the changeset viewer.