Changeset 291 for trunk/nv/formats/nmd_loader.hh
- Timestamp:
- 07/26/14 02:05:33 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/formats/nmd_loader.hh
r287 r291 72 72 virtual bool load( stream& source ); 73 73 virtual mesh_data* release_mesh_data( size_t index = 0 ); 74 virtual mesh_nodes_data* release_mesh_nodes_data(); 74 virtual size_t get_nodes_data_count() const { return 1; } 75 virtual mesh_nodes_data* release_mesh_nodes_data( size_t = 0 ); 75 76 virtual mesh_data_pack* release_mesh_data_pack(); 76 77 virtual size_t get_mesh_count() const { return m_meshes.size(); } … … 90 91 }; 91 92 92 // TODO: Temporary, find a better way and remove!93 class nmd_temp_model_data94 {95 friend class nmd_temp_animation_data;96 public:97 nmd_temp_model_data( nmd_loader* loader );98 const mesh_data* get_data( uint32 index ) const { return m_mesh_data[index]; }99 uint32 get_count() const { return m_mesh_data.size(); }100 const mesh_nodes_data* get_node_data() const { return m_node_data; }101 ~nmd_temp_model_data();102 private:103 std::vector< mesh_data*> m_mesh_data;104 mesh_nodes_data* m_node_data;105 };106 107 93 } 108 94
Note: See TracChangeset
for help on using the changeset viewer.