summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-03-31 22:25:51 +0200
committerGitHub <[email protected]>2020-03-31 22:25:51 +0200
commitd19990bed1bd27d5c43f259723585e50b70df6a6 (patch)
tree729e0b4410f610490d38d5a624bb9f97226cdeec
parent43a24911ea2d7fd82fb0451c6befac193d23bc00 (diff)
downloadSTC-modified-d19990bed1bd27d5c43f259723585e50b70df6a6.tar.gz
STC-modified-d19990bed1bd27d5c43f259723585e50b70df6a6.zip
Update cvec4.h
-rw-r--r--ccl/cvec4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccl/cvec4.h b/ccl/cvec4.h
index a74d28b7..66958eb7 100644
--- a/ccl/cvec4.h
+++ b/ccl/cvec4.h
@@ -36,7 +36,7 @@
static inline CVec4##tag cvec4##tag##_init(const T* a) { CVec4##tag v = {a[0], a[1], a[2], a[3]}; return v; } \
\
static inline CVec4##tag cvec4##tag##_set(CVec4##tag* self, T x, T y, T z, T w) { \
- self->x = x, self->y = y, self->z = z, self->z = z; return *self; \
+ self->x = x, self->y = y, self->z = z, self->z = z, self->w = w; return *self; \
} \
static inline CVec4##tag cvec4##tag##_setv(CVec4##tag* self, const T* a) { \
self->x = a[0], self->y = a[1], self->z = a[2], self->w = a[3]; return *self; \