<commit_before>import BoxGeometry from '../../3d/geometry/BoxGeometry.js'
import GLObject from '../GLObject.js'
import GLGeometry from '../GLGeometry.js'
import GLProgram from '../GLProgram.js'
import CameraShader from '../../shader/CameraShader.js'
import RayShader from '../../shader/RayShader.js'
import SDFShader from '../../shader/SDFShader.js'
import Shader from '../../3d/Shader.js'
import RoundedBoxGeometry from '../../3d/geometry/RoundedBoxGeometry.js'
import Vector3 from '../../math/Vector3.js'
import Vector4 from '../../math/Vector4.js'
import Vector2 from '../../math/Vector2.js'

export default class GLRayMarchingObject extends GLObject {
  constructor({
    gl,
    sdfObjects = [],
    vertexChunks = [],
    fragmentChunks = [],
    sdfRayMarchSteps = 100,
    sdfRayMarchPrecision = 0.01,
  }) {
    const SDFObjectStructure = `
      struct SDFObject
      {
        float size;
        float blend;
        vec3 position;<commit_msg>clean<commit_after>import GLObject from '../GLObject.js'
import GLGeometry from '../GLGeometry.js'
import GLProgram from '../GLProgram.js'
import CameraShader from '../../shader/CameraShader.js'
import RayShader from '../../shader/RayShader.js'
import SDFShader from '../../shader/SDFShader.js'
import Shader from '../../3d/Shader.js'
import RoundedBoxGeometry from '../../3d/geometry/RoundedBoxGeometry.js'
import Vector4 from '../../math/Vector4.js'
import Vector2 from '../../math/Vector2.js'

export default class GLRayMarchingObject extends GLObject {
  constructor({
    gl,
    sdfObjects = [],
    vertexChunks = [],
    fragmentChunks = [],
    sdfRayMarchSteps = 100,
    sdfRayMarchPrecision = .01,
  }) {
    const SDFObjectStructure = `
      struct SDFObject
      {
        float size;
        float blend;
        vec3 position;
{'fraction_non_alphanumeric': 0.14722222222222223, 'fraction_numerical': 0.015555555555555555, 'mean_word_length': 2.9152173913043478, 'pattern_counts': {'":': 0, '<': 3, '<?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': '969769', 'n_tokens_mistral': 536, 'n_tokens_neox': 541, 'n_words': 137}