KoeYe's picture
Add viewer app, scene data, and three.js runtime
b797337 verified
Raw History Blame Contribute Delete
196 Bytes
function WebGLShader( gl, type, string ) {
const shader = gl.createShader( type );
gl.shaderSource( shader, string );
gl.compileShader( shader );
return shader;
}
export { WebGLShader };