Unify config files, add capability to remember window position
This commit is contained in:
@@ -2,11 +2,9 @@ module MatrixHelper
|
||||
( perspectiveMatrixb
|
||||
, isoMatrix
|
||||
) where
|
||||
--import Geometry
|
||||
import Geometry.Data
|
||||
|
||||
import Linear.Matrix
|
||||
--import Linear.V4
|
||||
import Graphics.Rendering.OpenGL (GLfloat)
|
||||
|
||||
perspectiveMatrixb
|
||||
@@ -23,7 +21,6 @@ perspectiveMatrixb rot zoom (V2 tranx trany) (V2 winx winy) (V2 viewFromx viewFr
|
||||
$ scaleMat (V2 (2*zoom/winx) (2*zoom/winy))
|
||||
!*! rotMatr (-rot)
|
||||
!*! transMat (V2 (viewFromx-tranx) (viewFromy-trany))
|
||||
-- !*! perMat (zoom * 0.4)
|
||||
!*! perMat 0.4
|
||||
!*! transMat (V2 (-viewFromx) (-viewFromy))
|
||||
!*! vertScale (negate 0.005)
|
||||
|
||||
Reference in New Issue
Block a user