function h = h6(t0,t1)
% h = h6(t0,t1)
% length 6 orthogonal scaling filter as a function of 2 angles.

% Ivan Selesnick, 1997

t2 = 1/4*pi-t0-t1;
h(1) = cos(t2)*cos(t1)*cos(t0);
h(2) = cos(t2)*cos(t1)*sin(t0);
h(3) = -cos(t2)*sin(t1)*sin(t0)-sin(t2)*sin(t1)*cos(t0);
h(4) = cos(t2)*sin(t1)*cos(t0)-sin(t2)*sin(t1)*sin(t0);
h(5) = -sin(t2)*cos(t1)*sin(t0);
h(6) = sin(t2)*cos(t1)*cos(t0);

