Thread: "Reg" help
View Single Post
Old 22nd August 2006, 16:48   #1
fastingaciu
Major Dude
 
fastingaciu's Avatar
 
Join Date: Dec 2005
Location: Canada
Posts: 940
"Reg" help

I tryed to use the reg function with 2 supersopes 3d mattres but it just dosent work.

PHP Code:
/this is the control superscope

mx
=mx+mxb;
my=my+myb;
mz=mz+mzb;

cmx=cos(mx);
smx=sin(mx);
cmy=cos(my);
smy=sin(my);
cmz=cos(mz);
smz=sin(mz);

reg01=mx;
reg02=my;
reg03=mz;

reg04=cmx;
reg05=smx;
reg06=cmy;
reg07=smy;
reg08=cmz;
reg09=smz

PHP Code:
/and this is one of the superscopes frame

mx
=reg01;
my=reg02;
mz=reg03;

cmx=reg04;
smx=reg05;
cmy=reg06;
smy=reg07;
cmz=reg08;
smz=reg09

How come it doesn't work?

Those who can do, do; those who can't do, teach.
fastingaciu is offline   Reply With Quote