草庐IT

yourMatrix

全部标签

Android:我如何做 'Matrix.mapPoints(float[] points)' 的相反操作?

如果我有一个点和一个矩阵:floatpoint[]=newfloat[]{x,y};Matrixmatrix=newMatrix();并调用:matrix.mapPoints(point);我怎样才能扭转matrix.mapPoints(point)对point的影响?这不是我将使用答案的实际应用程序,但对此的答案将满足我的需要。感谢您的帮助。 最佳答案 如果你不想改变yourMatrixMatrixinverseCopy=newMatrix();if(yourMatrix.invert(inverseCopy)){inverseC