|
From: cheribhai <cha...@gm...> - 2010-03-01 12:48:05
|
Hello,
A quick question on vector asssignment using openvrml. I have a
javascript function where I am dynamically changing the key values of a
position interpolator, but the assignment does not seem to work.
I have tried
PosInter.keyValue[1][0] = targetPosition[0]; // x
PosInter.keyValue[1][0] = targetPosition[1]; // y
PosInter.keyValue[1][2] = targetPosition[2]; // z
and also
PosInter.keyValue = [0 0 0, targetPosition[0] targetPosition[1]
targetPosition[2]];
but both don't work.
cheers
Cherian
--
View this message in context: http://old.nabble.com/Vector-Assignment-tp27742867p27742867.html
Sent from the openvrml-develop mailing list archive at Nabble.com.
|