import { XY } from "./Vector2"; export declare class Matrix3 { private data; /** Left-multiplies this vector by the given matrix * @param mat The matrix * @returns This vector */ mulVec2(p: XY): XY; /** Sets this matrix to a translation matrix. * @param x The translation in x * @param y The translation in y * @returns This matrix for the purpose of chaining operations. */ setToTranslation(p: XY): this; /** Sets this matrix to a rotation matrix that will rotate any vector in counter-clockwise direction around the z-axis. * @param radians The angle in radians. * @returns This matrix for the purpose of chaining operations. */ setToRotationRad(radians: number): this; /** * @returns The determinant of this matrix */ det(): number; set(i0: number, i1: number, i2: number, i3: number, i4: number, i5: number, i6: number, i7: number, i8: number): this; /** Inverts this matrix given that the determinant is != 0. * @returns This matrix for the purpose of chaining operations. * @throws GdxRuntimeException if the matrix is singular (not invertible) */ inv(): this; /** Postmultiplies this matrix with a (counter-clockwise) rotation matrix. Postmultiplication is also used by OpenGL ES' 1.x * glTranslate/glRotate/glScale. * @param radians The angle in radians * @returns This matrix for the purpose of chaining. */ rotateRad(radians: number): this; /** Multiplies matrix a with matrix b in the following manner: * *
* mul(A, B) => A := AB
*
* @param mata The float array representing the first matrix. Must have at least 9 elements.
* @param matb The float array representing the second matrix. Must have at least 9 elements. */
mul(other: Matrix3): this;
}
//# sourceMappingURL=Matrix3.d.ts.map