Mercurial > hg > dmlib
diff dmvecmat.h @ 244:00785510b743
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 09 Oct 2012 17:22:52 +0300 |
parents | 07c4f1a7ddc6 |
children | 159264c27929 |
line wrap: on
line diff
--- a/dmvecmat.h Tue Oct 09 17:22:07 2012 +0300 +++ b/dmvecmat.h Tue Oct 09 17:22:52 2012 +0300 @@ -39,7 +39,7 @@ const DMFloat cx, const DMFloat cy, const DMFloat cz); -static inline void dm_vector_copy(DMVector *vd, DMVector *vs) +static inline void dm_vector_copy(DMVector *vd, const DMVector *vs) { memcpy(vd, vs, sizeof(DMVector)); }