import { float, mat2, mat3, mat4, vec3 } from "./ShaderTypes"; /** * get a 2D rotation matrix from a given angle * @param angle the angle you want to rotate * @returns a matrix you can multiply a 2D position by to rotate */ export declare const rotate2D: (angle: float) => mat2 | string; /** * get a 3D rotation matrix from a given axis and angle * @param axis the axis you want to rotate on * @param angle the angle you want to rotate * @returns a matrix you can multiply a 3D position by to rotate */ export declare const rotate3D: (axis: vec3, angle: float) => mat3 | string; /** * creates a scaling matrix with a given sclae factor * @param scaleFactor the factor to scale by * @returns a matrix that can be used to scale by the scale factor */ export declare const scale3D: (scaleFactor: float) => mat4 | string; export declare const TransformFunctions: { rotate2D: (angle: float) => mat2 | string; rotate3D: (axis: vec3, angle: float) => mat3 | string; scale3D: (scaleFactor: float) => mat4 | string; };