remove graph lines vector from app type, so the vector can be garbage collected (it is not really needed)

This commit is contained in:
2024-08-13 23:49:34 +01:00
parent 6878f7fa58
commit 0c76edfde2
7 changed files with 11 additions and 31 deletions

View File

@@ -12,9 +12,6 @@ struct
let
val xClickPoints = ClickPoints.generate (wStart, wFinish)
val yClickPoints = ClickPoints.generate (hStart, hFinish)
val graphLines =
GraphLines.generate
(windowWidth, windowHeight, xClickPoints, yClickPoints)
in
{ triangles = []
, triangleStage = NO_TRIANGLE
@@ -22,7 +19,6 @@ struct
, windowHeight = windowHeight
, xClickPoints = xClickPoints
, yClickPoints = yClickPoints
, graphLines = graphLines
, undo = []
, redo = []
, mouseX = 0.0