#pragma once #include "PoseableBatch.h" #include "SpecifiedPoseable.h" namespace charcoal { namespace builtin { // Note: If anything is changed in this file, it must also be changed in Poseable2DBatch template > class SpecifiedPoseableBatch : public PoseableBatch { public: using PoseableBatch::PoseableBatch; void reset() { m_element_render_count = 0; } void add_specified_poseable(SpecifiedPoseable >* poseable) { PoseableBatch::m_pose_elements[m_element_render_count++].set_orientation_matrix(poseable->get_orientation_matrix()); } }; } }