address second regression mentioned in previous commit, where clicked dots are no longer visible (turns out that I removed a line during refactoring which added the triangle stage coordinates to the dot vector)
This commit is contained in:
@@ -20,6 +20,8 @@ struct
|
|||||||
SOME (xpos, ypos) =>
|
SOME (xpos, ypos) =>
|
||||||
ClickPoints.getDrawDot (xpos, ypos, 1.0, 0.0, 0.0, model)
|
ClickPoints.getDrawDot (xpos, ypos, 1.0, 0.0, 0.0, model)
|
||||||
| NONE => Vector.fromList []
|
| NONE => Vector.fromList []
|
||||||
|
val drawVec = TriangleStage.toVector (model, drawVec)
|
||||||
|
|
||||||
val drawMsg = DRAW_DOT drawVec
|
val drawMsg = DRAW_DOT drawVec
|
||||||
in
|
in
|
||||||
(model, DRAW drawMsg)
|
(model, DRAW drawMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user