add refactored message types to temp folder

This commit is contained in:
2025-07-06 02:30:15 +01:00
parent 441e5fdd69
commit e8e090a19d
13 changed files with 67 additions and 65 deletions

View File

@@ -0,0 +1,12 @@
structure ClickPoints =
struct
fun generate (start, finish, numPoints) =
let
val difference = finish - start
val increment = Real32.fromInt difference / Real32.fromInt numPoints
val start = Real32.fromInt start
in
Vector.tabulate (numPoints + 1, fn idx =>
(Real32.fromInt idx * increment) + start)
end
end