I am sorry for replying late. And thank you very much for your comment,
Ron.
I think that the results was interesting. Because no number multiplied
by 0 comes to be 1. It would take a little time to explain my point.
Therefore I wrote it in our blog.
"Vector3D.w property for multiplication"
http://blog.jactionscripters.com/2009/05/17/test/
Any comments would be very appreciated.
_____
Ron Wheeler wrote:
Fumio Nonaka wrote:
var myMatrix3D:Matrix3D = new Matrix3D();
var myVector3D:Vector3D = new Vector3D();
trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 0
myVector3D = myMatrix3D.transformVector(myVector3D);
trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 1
You seem to be multiplying a null vector(zero length located at 0,0,0 at
the best interpretation) by a null or zero transformation. The results
will not be very interesting .
Perhaps you might try it with a not null vector and a not null
transformation and see if you get something more interesting.
Good luck,
--
Fumio Nonaka
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Blog in English<http://blog.jactionscripters.com/>
Flash community<http://F-site.org/>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders