/*
This file contains proprietary software owned by Motorola Mobility, Inc.
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/
var Matrix = function Matrix() {
};
Matrix.create = function( rowArray ) {
var mat = Matrix.I(4);
var index = 0;
for(var j=0; j<4; j++) {
for (var i=0; i<4; i++) {
mat[index] = rowArray[i][j];
index++;
}
}
return mat;
};
Matrix.I = function(dimen) {
var mat = [];
for (var i = 0; i