visually seperate texture coords from vertex coords

This commit is contained in:
nek0 2020-06-08 16:41:55 +02:00
parent 96dfd765b1
commit dc7162e407
1 changed files with 4 additions and 4 deletions

View File

@ -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