rename
This commit is contained in:
parent
f70007d58b
commit
56ad7214c6
4 changed files with 1 additions and 23 deletions
|
@ -6,6 +6,6 @@
|
|||
<script type="module" src="gl/gl.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="test.js"></script>
|
||||
<script type="module" src="cube.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +0,0 @@
|
|||
precision mediump float;
|
||||
|
||||
varying vec3 color_pass;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = vec4(color_pass, 1.0);
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
precision mediump float;
|
||||
|
||||
attribute vec3 position;
|
||||
attribute vec3 color;
|
||||
|
||||
uniform mat4 proj;
|
||||
uniform mat4 view;
|
||||
uniform mat4 tran;
|
||||
|
||||
varying vec3 color_pass;
|
||||
|
||||
void main() {
|
||||
color_pass = color;
|
||||
gl_Position = proj * view * tran * vec4(position, 1.0);
|
||||
}
|
Loading…
Reference in a new issue