glesv2 :: NativeGLfloatArray :: set_identity
# Overwrite this matrix with the identity matrix fun set_identity do for i in [0..4[ do for j in [0..4[ do matrix_set(i, j, if i == j then 1.0 else 0.0) end end end