2f6c5ee319
Almost there. Just an odd linker error so far.
25 lines
406 B
C++
25 lines
406 B
C++
#pragma once
|
|
|
|
#include <charcoal/Poseable.h>
|
|
|
|
namespace charcoal
|
|
{
|
|
namespace builtin
|
|
{
|
|
template <typename SpecifiedPoseableBatchType>
|
|
class SpecifiedPoseable : public Poseable
|
|
{
|
|
public:
|
|
SpecifiedPoseable(SpecifiedPoseableBatchType& batch) : m_batch(batch)
|
|
{}
|
|
|
|
void render()
|
|
{
|
|
m_batch.add_specified_poseable(this);
|
|
}
|
|
|
|
private:
|
|
SpecifiedPoseableBatchType& m_batch;
|
|
};
|
|
}
|
|
} |