Hi,

What if I wnat to scale an object by 2 times in X, then roate it by 1.0 about Y axis, I have to set matix like this

scale:=2.0;
deg:=1.0;
FillChar(matE, SizeOf(matE),0);
with matE do
begin
_11:=cos(deg)*scale;
_13:=sin(deg);
_22:=1;
_31:=-sin(deg);
_33:=-cos(deg);
_44:=1;
end;

Is there any function in (un)DelphiX that I can do these by just pass transform, rotate, scale x,y,z?

Thanks
Daniel


RasVector http://dan59314.myweb.hinet.net