refactor ast modifing function into seperate module

This commit is contained in:
Kurt Hutten IrevDev
2023-01-06 09:29:26 +11:00
parent 43454ce2e3
commit 82f4616032
5 changed files with 289 additions and 277 deletions

View File

@ -3,7 +3,8 @@ import { DoubleSide, Vector3 } from 'three'
import { useStore } from '../useStore'
import { Intersection } from '@react-three/fiber'
import { Text } from '@react-three/drei'
import { addSketchTo, Program } from '../lang/abstractSyntaxTree'
import { addSketchTo } from '../lang/modifyAst'
import { Program } from '../lang/abstractSyntaxTree'
import { Quaternion } from 'three'
const opacity = 0.1