[−][src]Static p5_sys::global::resetMatrix
pub static resetMatrix: ResetMatrixInternalType
Replaces the current matrix with the identity matrix.
Examples
translate(50, 50); applyMatrix(0.5, 0.5, -0.5, 0.5, 0, 0); rect(0, 0, 20, 20); // Note that the translate is also reset. resetMatrix(); rect(0, 0, 20, 20);