// Copyright (C) 2012-2015 ChaosForge Ltd // http://chaosforge.org/ // // This file is part of Nova libraries. // For conditions of distribution and use, see copying.txt file in root folder. #ifndef NV_GFX_SKELETAL_MESH_HH #define NV_GFX_SKELETAL_MESH_HH #include #include #include #include #include namespace nv { #if 0 class skeletal_animation_entry : public animation_entry { public: skeletal_animation_entry( shash64 name, const mesh_nodes_data* anim, uint32 fps, uint32 time_start, uint32 time_end, bool a_looping ) : animation_entry( name, a_looping, fps, time_start, time_end ) , m_temp_anim( anim ) { } const skeleton_binding& get_binding() const { return m_data; } void prepare( const mesh_nodes_data* bones ); void update_skeleton( skeleton_instance& tr, uint32 a_ms_time ) const; protected: const mesh_nodes_data* m_temp_anim; skeleton_binding m_data; }; #endif } // namespace nv #endif // NV_GFX_SKELETAL_MESH_HH