opengl

Sample code from LearnOpenGL.com
Log | Files | Refs

commit 4d2929f83c1dff9a28a9c7148d6d33208744bf37
parent 910b37813c7f1eab29098588e4b1dbcdfb992dfd
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Wed, 28 Jun 2023 10:12:00 +0900

add matCopy

Diffstat:
Mglm.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/glm.h b/glm.h @@ -29,6 +29,7 @@ char *matStr(char *s, mat *m); mat *matMake(float *data, int size); mat *matMakeIdent(int size); void matFree(mat *m); +mat *matCopy(const mat *m); float *matDataPtr(mat *m); mat *translate(mat *m, const vec *v);