リファレンス(下参照)には matrix × vector が返るって書いてあるんだけど、実際は vector × matrix が返ってくる。なんてこった。
ruby>>
GLKVector4 GLKMatrix4MultiplyVector4 (
GLKMatrix4 matrixLeft,
GLKVector4 vectorRight
);
Parameters
matrixLeft
The matrix multiplicand.
vectorRight
The vector multiplier.
Return Value
A new vector created by multiplying the matrix by the vector.
<<--
posted by
Saturn on Thu 4 Jul 2013 at 13:38 with 0 comments