Mercurial > hg > dmlib
changeset 244:00785510b743
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 09 Oct 2012 17:22:52 +0300 |
parents | a9d500e5698d |
children | eed8eed58f82 |
files | dmvecmat.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)); }