PVector 4th element


I am developing a library for Processing and I need to do some 3D matrix-vector multiplication. I don't seem to be able to multiply a PMatrix3D with a vector

I see in the source that the w coordinate is commented out so it may have worked in the past.

Why is it commented out? Is there any other way to multiply a 4x4 matrix with a 1x4 vector?

Can I check and possibly readd this functionality?



Sign In or Register to comment.