mirror of
https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.git
synced 2025-10-04 09:51:38 +02:00
cleaning
This commit is contained in:
12
script.js
12
script.js
@@ -598,11 +598,7 @@ function createFBO (texId, w, h, internalFormat, format, type, param) {
|
|||||||
return {
|
return {
|
||||||
texture,
|
texture,
|
||||||
fbo,
|
fbo,
|
||||||
texId,
|
texId
|
||||||
internalFormat,
|
|
||||||
format,
|
|
||||||
type,
|
|
||||||
param
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -621,12 +617,6 @@ function createDoubleFBO (texId, w, h, internalFormat, format, type, param) {
|
|||||||
let temp = fbo1;
|
let temp = fbo1;
|
||||||
fbo1 = fbo2;
|
fbo1 = fbo2;
|
||||||
fbo2 = temp;
|
fbo2 = temp;
|
||||||
},
|
|
||||||
set read (value) {
|
|
||||||
fbo1 = value;
|
|
||||||
},
|
|
||||||
set write (value) {
|
|
||||||
fbo2 = value;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user