Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
Remove spaces and fix identation
Browse files Browse the repository at this point in the history
  • Loading branch information
LeleVic committed May 12, 2015
1 parent faadc3c commit efa5f73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions App/matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function invert4x4 (matrix) {
return result;
}

// not working!
function multMatrixVec(matrix, vector) {

var result = [];
Expand All @@ -53,8 +52,6 @@ function multMatrixVec(matrix, vector) {
sum = 0.0;
for ( var j = 0; j < vector.length; j++ ) {
sum += matrix[i][j] * vector[j];
console.log(matrix[i][j] * vector[j]);
console.log("sum " + j + " " + sum);
}
result.push( sum );
}
Expand Down

0 comments on commit efa5f73

Please sign in to comment.