visually seperate texture coords from vertex coords
This commit is contained in:
parent
96dfd765b1
commit
dc7162e407
1 changed files with 4 additions and 4 deletions
|
@ -87,10 +87,10 @@ main = do
|
||||||
-- with added in texture coordinates
|
-- with added in texture coordinates
|
||||||
let vertexPositions =
|
let vertexPositions =
|
||||||
-- 3D positions | texture coordinates
|
-- 3D positions | texture coordinates
|
||||||
[ 100, 100, 0, 0, 0 -- 0
|
[ 100, 100, 0, 0, 0
|
||||||
, 233, 100, 0, 1, 0 -- 1
|
, 233, 100, 0, 1, 0
|
||||||
, 233, 300, 0, 1, 1 -- 2
|
, 233, 300, 0, 1, 1
|
||||||
, 100, 300, 0, 0, 1 -- 3
|
, 100, 300, 0, 0, 1
|
||||||
] :: [GL.GLfloat]
|
] :: [GL.GLfloat]
|
||||||
|
|
||||||
-- create draw order indices
|
-- create draw order indices
|
||||||
|
|
Loading…
Reference in a new issue