<commit_before>require 'securerandom'
require 'mittsu'
require 'mittsu/core/hash_object'

module Mittsu
  class Geometry < HashObject
    include EventDispatcher

    MorphNormal = Struct.new(:face_normals, :vertex_normals)
    Normal = Struct.new(:a, :b, :c)

    attr_accessor :name, :vertices, :colors, :faces, :face_vertex_uvs, :morph_targets, :morph_colors, :morph_normals, :skin_weights, :skin_indices, :line_distances, :bounding_box, :bounding_sphere, :has_tangents, :dynamic

    attr_accessor(*%w(vertices morph_targets elements uvs normals tangents colors line_distances groups).map { |s| "#{s}_need_update".to_sym })

    attr_reader :id, :uuid, :type

    def initialize
      super

      @id = (@@id ||= 1).tap { @@id += 1 }

      @name = ''
      @type = 'Geometry'<commit_msg>patch: remove HashObject inheritence from Geometry<commit_after>require 'securerandom'
require 'mittsu'

module Mittsu
  class Geometry
    include EventDispatcher

    MorphNormal = Struct.new(:face_normals, :vertex_normals)
    Normal = Struct.new(:a, :b, :c)

    attr_accessor :name, :vertices, :colors, :faces, :face_vertex_uvs, :morph_targets, :morph_colors, :morph_normals, :skin_weights, :skin_indices, :line_distances, :bounding_box, :bounding_sphere, :has_tangents, :dynamic

    attr_accessor(*%w(vertices morph_targets elements uvs normals tangents colors line_distances groups).map { |s| "#{s}_need_update".to_sym })

    attr_reader :id, :uuid, :type

    def initialize
      super

      @id = (@@id ||= 1).tap { @@id += 1 }

      @name = ''
      @type = 'Geometry'
{'fraction_non_alphanumeric': 0.1281725888324873, 'fraction_numerical': 0.0025380710659898475, 'mean_word_length': 4.513986013986014, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '2238233', 'n_tokens_mistral': 567, 'n_tokens_neox': 529, 'n_words': 125}