this.program = initShaders(this.gl, "vertex-shader","fragment-shader");
attribute vec4 vPosition; void main() { gl_PointSize = 3.0; gl_Position = vPosition; }
let vPosition = this.gl.getAttribLocation(this.program, "vPosition");
void main() { gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 ); }
<script src="https://mirkwood.cs.edinboro.edu/~bennett/GraphicsCode/Common/webgl-utils.js" > <script src="https://mirkwood.cs.edinboro.edu/~bennett/GraphicsCode/Common/initShaders.js"> <script src="https://mirkwood.cs.edinboro.edu/~bennett/GraphicsCode/Common/MV.js">
<script src="../Common/webgl-utils.js" > <script src="../Common/initShaders.js"> <script src="../Common/MV.js">