diff options
| author | Tyge Løvset <[email protected]> | 2020-03-31 22:25:51 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-31 22:25:51 +0200 |
| commit | d19990bed1bd27d5c43f259723585e50b70df6a6 (patch) | |
| tree | 729e0b4410f610490d38d5a624bb9f97226cdeec | |
| parent | 43a24911ea2d7fd82fb0451c6befac193d23bc00 (diff) | |
| download | STC-modified-d19990bed1bd27d5c43f259723585e50b70df6a6.tar.gz STC-modified-d19990bed1bd27d5c43f259723585e50b70df6a6.zip | |
Update cvec4.h
| -rw-r--r-- | ccl/cvec4.h | 2 |
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; \
|
