reduce number of type conversoins required for mouse move callback (and fix the other code which uses it too)
This commit is contained in:
@@ -90,7 +90,7 @@ struct
|
||||
*)
|
||||
fun getClickPos (mouseX, mouseY, r, g, b) =
|
||||
getHorizontalClickPos
|
||||
(0, Real32.fromInt mouseX, Real32.fromInt mouseY, r, g, b)
|
||||
(0, mouseX, mouseY, r, g, b)
|
||||
end
|
||||
|
||||
fun getFirstTriangleStageVector (x1, y1, drawVec) =
|
||||
|
||||
Reference in New Issue
Block a user