public void makeTranslationMatrix ( double dx , double dy ) { this . m00 = 1. ; this . m01 = 0. ; this . m02 = dx ; this . m10 = 0. ; this . m11 = 1. ; this . m12 = dy ; this . m20 = 0. ; this . m21 = 0. ; this . m22 = 1. ; }
Sets the value of this matrix to the given translation without rotation .