2 implementations of fill_identity_matrix:
#1
/digego/extempore/tree/v0.8.9/libs/external/opengl.xtm ·
#2
/digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
;; this is similar to gluPerspective
;; but fills a suitable PROJECTION matrix
(bind-func fill_identity_matrix
(lambda (mat:float*)
(pfill! mat
1.0 0.0 0.0 0.0
0.0 1.0 0.0 0.0
0.0 0.0 1.0 0.0
0.0 0.0 0.0 1.0)
void))