Made a todo list
This commit is contained in:
parent
6fdd07cc14
commit
d818689d4b
12
TODO.txt
Normal file
12
TODO.txt
Normal file
@ -0,0 +1,12 @@
|
||||
Make the panning match the cursor
|
||||
Allow zooming with scroll wheel
|
||||
Dynamically set a minimum zoom that will keep the edges of the sphere from showing
|
||||
Automatically create canvas for each marked <img> once it loads, and display:none the <img>
|
||||
Add a class to the <canvas> for styling
|
||||
Copy matrix funcs into code
|
||||
Add licenses
|
||||
Add instructions
|
||||
Fix up code locality
|
||||
Give the uniforms simpler names
|
||||
Delete the defunct view matrix
|
||||
Rename the model matrix as the view matrix, because that's really what it is.
|
@ -212,7 +212,6 @@
|
||||
gl.uniformMatrix4fv(modelMatrixLocation, false, modelMatrix);
|
||||
|
||||
const aspect = gl.drawingBufferWidth / gl.drawingBufferHeight;
|
||||
// TODO find a minimum zoom that won't show the edges of the sphere.
|
||||
const zoom = 4;
|
||||
const projectionMatrix = mat4.ortho(mat4.create(), -aspect / zoom, aspect / zoom, -1 / zoom, 1 / zoom, -1, 1);
|
||||
gl.uniformMatrix4fv(projectionMatrixLocation, false, projectionMatrix);
|
||||
|
Loading…
Reference in New Issue
Block a user