Hi all. I've been pretty much thrown in at the dead end of java3d here and
need a little help swimming.
This is possibly an obvious question, but if I have a Matrix4f m and a
Vector4f v, is there a method to get mv?
In the vecmath api I see Matrix4f.mul( Matrix4f ) but not
Matrix4f.mul( Vector4f )
ta,

Signature
Jim H jh
@333
.org
Artur Biesiadowski - 03 Dec 2003 18:12 GMT
> This is possibly an obvious question, but if I have a Matrix4f m and a
> Vector4f v, is there a method to get mv?
>
> In the vecmath api I see Matrix4f.mul( Matrix4f ) but not
> Matrix4f.mul( Vector4f )
If you mean multiplying vector and matrix to get transformed vector,
look at Matrix4f.transform(Tuple4f vec [, Tuple4f into]).
Artur