minor change to generated export code (avoid redundant maths operations)
This commit is contained in:
@@ -68,9 +68,9 @@ struct
|
|||||||
\ let\n\
|
\ let\n\
|
||||||
\ val startX = Real32.fromInt startX\n\
|
\ val startX = Real32.fromInt startX\n\
|
||||||
\ val startY = Real32.fromInt startY\n\
|
\ val startY = Real32.fromInt startY\n\
|
||||||
\ val startY = windowHeight - (startY + drawHeight)\n\
|
\ val endY = windowHeight - startY\n\
|
||||||
\ val endX = startX + drawWidth\n\
|
\ val endX = startX + drawWidth\n\
|
||||||
\ val endY = startY + drawHeight\n\
|
\ val startY = startY - drawHeight\n\
|
||||||
\ val windowHeight = windowHeight / 2.0\n\
|
\ val windowHeight = windowHeight / 2.0\n\
|
||||||
\ val windowWidth = windowWidth / 2.0\n\
|
\ val windowWidth = windowWidth / 2.0\n\
|
||||||
\ in\n\
|
\ in\n\
|
||||||
|
|||||||
Reference in New Issue
Block a user