Commit 680a3fd7 authored by amandaghassaei's avatar amandaghassaei
Browse files

small changes

parent c7a77f3b
......@@ -159,7 +159,7 @@ function initDynamicModel(globals){
function render(){
// var vectorLength = 2;
// var vectorLength = 1;
// globals.gpuMath.setProgram("packToBytes");
// globals.gpuMath.setUniformForProgram("packToBytes", "u_vectorLength", vectorLength, "1f");
// globals.gpuMath.setSize(textureDim*vectorLength, textureDim);
......@@ -170,7 +170,7 @@ function initDynamicModel(globals){
// var pixels = new Uint8Array(height*textureDimCreases*4*vectorLength);
// globals.gpuMath.readPixels(0, 0, textureDimCreases * vectorLength, height, pixels);
// var parsedPixels = new Float32Array(pixels.buffer);
// for (var i = 0; i < parsedPixels.length; i+=2) {
// for (var i = 0; i < 1; i++) {
// console.log(parsedPixels[i])
// }
// } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment