matrix[i][j] = value;\r
}\r
\r
- public void print() {\r
- System.out.println(matrix[0][0] + " " + matrix[0][1] + " " +\r
- matrix[0][2]);\r
- System.out.println(matrix[1][0] + " " + matrix[1][1] + " " +\r
- matrix[1][2]);\r
- System.out.println(matrix[2][0] + " " + matrix[2][1] + " " +\r
- matrix[2][2]);\r
- }\r
-\r
public void rotatex(float degrees) {\r
mycos = (float) (Math.cos(degrees * myconst));\r
mysin = (float) (Math.sin(degrees * myconst));\r