There was an error while loading. Please reload this page.
size(100, 100, P3D); noFill(); box(80); printMatrix(); // Imprime: // 01.0000 00.0000 00.0000 -50.0000 // 00.0000 01.0000 00.0000 -50.0000 // 00.0000 00.0000 01.0000 -86.6025 // 00.0000 00.0000 00.0000 01.0000 resetMatrix(); box(80); printMatrix(); // Imprime: // 1.0000 0.0000 0.0000 0.0000 // 0.0000 1.0000 0.0000 0.0000 // 0.0000 0.0000 1.0000 0.0000 // 0.0000 0.0000 0.0000 1.0000
Substitui a matrix corrente pela matriz identidade. A função equivalente em OpenGL é glLoadIdentity().
resetMatrix()
Nenhum
Web & Applicações
pushMatrix()
popMatrix()
applyMatrix()
printMatrix()