<commit_before>#ifndef ALPHA_RENDERLAYER_HEADER
#define ALPHA_RENDERLAYER_HEADER

#include "Vector3.hpp"

namespace nt {
namespace gl {

template <typename Scalar>
class RenderLayer
{
public:
    /**
     * Render this layer at the specified position. The position is provided
     * to allow for optimization for geometry that is either entirely occluded at
     * that position, or for geometry that is too distant to be rendered.
     * <p>
     * The position given is in the render layer's local coordinates. For instance, a
     * "world" render layer would have its position relative to the world coordinates.
     */
    virtual void render(const Vector3<Scalar>& position)=0;
};

} // namespace gl
} // namespace nt

#endif // ALPHA_RENDERLAYER_HEADER
<commit_msg>RenderLayer: Use a virtual dtor, since this is a base class<commit_after>#ifndef ALPHA_RENDERLAYER_HEADER
#define ALPHA_RENDERLAYER_HEADER

#include "Vector3.hpp"

namespace nt {
namespace gl {

template <typename Scalar>
class RenderLayer
{
public:
    /**
     * Render this layer at the specified position. The position is provided
     * to allow for optimization for geometry that is either entirely occluded at
     * that position, or for geometry that is too distant to be rendered.
     * <p>
     * The position given is in the render layer's local coordinates. For instance, a
     * "world" render layer would have its position relative to the world coordinates.
     */
    virtual void render(const Vector3<Scalar>& position)=0;
    virtual ~RenderLayer() {}
};

} // namespace gl
} // namespace nt

#endif // ALPHA_RENDERLAYER_HEADER

{'fraction_non_alphanumeric': 0.0721331689272503, 'fraction_numerical': 0.0036991368680641184, 'mean_word_length': 3.637142857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5288095', 'n_tokens_mistral': 457, 'n_tokens_neox': 448, 'n_words': 188}