Skip to content
Permalink
Browse files

Found translations!

  • Loading branch information...
jappeace committed Feb 25, 2018
1 parent fb73515 commit 96f3dd293ad72f8b199d7958500f0f14ea2ed013
Showing with 10 additions and 3 deletions.
  1. +10 −3 crate.elm
@@ -92,7 +92,15 @@ perspective angle =

scene : Mat4 -> Texture -> List Entity
scene camera texture =
[ WebGL.entity
[ WebGL.entity
crateVertex
crateFragment
crateMesh
{ texture = texture
, perspective = (Mat4.translate (vec3 0 2 0) camera)
}
,
WebGL.entity
crateVertex
crateFragment
crateMesh
@@ -255,10 +263,9 @@ crateVertex =
varying vec2 vcoord;
void main () {
gl_Position = perspective * vec4(position, 1.0);
gl_Position = perspective * vec4(position, 1.0) ;
vcoord = coord;
}
|]


0 comments on commit 96f3dd2

Please sign in to comment.
You can’t perform that action at this time.