Changeset 468 for trunk


Ignore:
Timestamp:
09/09/15 19:13:35 (10 years ago)
Author:
epyon
Message:
  • cleanup of material_idx
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/interface/animated_mesh.hh

    r431 r468  
    2626        public:
    2727                animation_entry( shash64 name, bool looping, uint32 frame_rate, float a_start, float a_end ) : m_name( name ), m_looping( looping ), m_frame_rate( frame_rate ),
    28                 m_start( a_start ), m_end( a_end ), m_duration( m_end - m_start ), m_material_idx(0) {}
     28                m_start( a_start ), m_end( a_end ), m_duration( m_end - m_start ) {}
    2929                shash64 get_name() const { return m_name; }
    3030                uint32 get_frame_rate() const { return m_frame_rate; }
     
    4343                        m_frame_rate = rate;
    4444                }
    45                 void set_material_idx( uint32 idx ) { m_material_idx = idx; }
    46                 uint32 get_material_idx() const { return m_material_idx; }
    4745                virtual ~animation_entry() {}
    4846        protected:
     
    5351                float   m_end;
    5452                float   m_duration;
    55                 uint32  m_material_idx;
    5653        };
    5754
Note: See TracChangeset for help on using the changeset viewer.