Posts by Pedro • 13 points
1 post
-
1
votes2
answers61
viewsQ: Calling an object of an array by the index in a loop
I have this matrix: r = { br : {x:2, y:0, z:4}, pr : {x:2, y:1, z:5}, ou : {x:1, y:1, z:6}, pl : {x:1, y:1, z:7}, di : {x:1, y:1, z:7} } w = 0.5 And that tie that makes a calculation: for (var t =…
javascriptasked Pedro 13