[Viewer3D] Clean-up: Harmonize syntax across all the files

This commit is contained in:
Candice Bentéjac 2023-10-17 11:25:37 +02:00
parent 9249615baf
commit 9d2974d282
18 changed files with 307 additions and 321 deletions

View file

@ -23,7 +23,7 @@ Entity {
function buildGrid(first, last, offset, attribute) {
var vertexCount = (((last-first)/offset)+1)*4;
var f32 = new Float32Array(vertexCount*3);
for(var id = 0, i = first; i <= last; i += offset, id++)
for (var id = 0, i = first; i <= last; i += offset, id++)
{
f32[12*id] = i;
f32[12*id+1] = 0.0;