<commit_before>/*
 * Represents an element which can be rendered as part of a scene.
 * Author: <NAME>
 */

#ifndef ELEMENT_H_
#define ELEMENT_H_

#include <cstddef>

class IntersectionData;
class Ray;

class Element {
 public:
  virtual ~Element();
  bool Intersect(const Ray& ray, IntersectionData* data = NULL) = 0;
};

#endif  /* ELEMENT_H_ */<commit_msg>Fix build failure by adding virtual keyword.<commit_after>/*
 * Represents an element which can be rendered as part of a scene.
 * Author: <NAME>
 */

#ifndef ELEMENT_H_
#define ELEMENT_H_

#include <cstddef>

class IntersectionData;
class Ray;

class Element {
 public:
  virtual ~Element();
  virtual bool Intersect(const Ray& ray, IntersectionData* data = NULL) = 0;
};

#endif  /* ELEMENT_H_ */
{'fraction_non_alphanumeric': 0.1096433289299868, 'fraction_numerical': 0.002642007926023778, 'mean_word_length': 4.300699300699301, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3462773', 'n_tokens_mistral': 252, 'n_tokens_neox': 255, 'n_words': 87}