public class rotmatX extends prematrix
{
public rotmatX()
    {
	super();
    }

public void recalc(double t)
    {
	double st = (double)Math.sin(t);
	double ct = (double)Math.cos(t);
	M[0][0] = 1;
	M[0][1] = 0;
	M[0][2] = 0;
	M[0][3] = 0;
	M[1][0] = 0;
	M[1][1] = ct;
	M[1][2] = -st;
	M[1][3] = 0;
	M[2][0] = 0;
	M[2][1] = st;
	M[2][2] = ct;
	M[2][3] = 0;
	M[3][0] = 0;
	M[3][1] = 0;
	M[3][2] = 0;
	M[3][3] = 1;	
    }
}

