From dc7162e407de1f34c99ea7d2557fdfe04de55637 Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 8 Jun 2020 16:41:55 +0200 Subject: [PATCH] visually seperate texture coords from vertex coords --- src/Main.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Main.hs b/src/Main.hs index 3a13454..8f369bf 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -87,10 +87,10 @@ main = do -- with added in texture coordinates let vertexPositions = -- 3D positions | texture coordinates - [ 100, 100, 0, 0, 0 -- 0 - , 233, 100, 0, 1, 0 -- 1 - , 233, 300, 0, 1, 1 -- 2 - , 100, 300, 0, 0, 1 -- 3 + [ 100, 100, 0, 0, 0 + , 233, 100, 0, 1, 0 + , 233, 300, 0, 1, 1 + , 100, 300, 0, 0, 1 ] :: [GL.GLfloat] -- create draw order indices