glLoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix with the identity matrix
glLoadIdentity
⎛1ㅤ0ㅤ0ㅤ0⎞
⎜0ㅤ1ㅤ0ㅤ0 ⎜
⎜0ㅤ0ㅤ1ㅤ0 ⎜
⎝0ㅤ0ㅤ0ㅤ1⎠
but in some cases it is more efficient.
replace the current matrix with the identity matrix
Generated using TypeDoc
glLoadIdentity
replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix with the identity matrix⎛1ㅤ0ㅤ0ㅤ0⎞
⎜0ㅤ1ㅤ0ㅤ0 ⎜
⎜0ㅤ0ㅤ1ㅤ0 ⎜
⎝0ㅤ0ㅤ0ㅤ1⎠
but in some cases it is more efficient.