Changeset 190


Ignore:
Timestamp:
08/04/13 19:25:54 (12 years ago)
Author:
epyon
Message:
  • formats - md5 loader - no animations yet, but tangent calculation in
Location:
trunk
Files:
2 added
3 edited

Legend:

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

    r189 r190  
    3939
    4040
    41         class md3_loader : public mesh_loader
     41        class md3_loader : public keyframed_loader
    4242        {
    4343        public:
  • trunk/nv/math.hh

    r122 r190  
    3838        typedef glm::mat4 mat4;
    3939
     40        typedef glm::quat quat;
     41
    4042        template <typename T>
    4143        struct datatype_traits
  • trunk/nv/types.hh

    r121 r190  
    7272        template < typename TYPE > struct type_to_enum {};
    7373
     74        template <> struct type_to_enum< long >          { static const datatype type = INT; };
     75        template <> struct type_to_enum< unsigned long > { static const datatype type = UINT; };
    7476        template <> struct type_to_enum< int >           { static const datatype type = INT; };
    7577        template <> struct type_to_enum< unsigned int >  { static const datatype type = UINT; };
Note: See TracChangeset for help on using the changeset viewer.