aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shane Liesegang 2019-07-10 15:40:28 +0200
committerGravatar GitHub 2019-07-10 15:40:28 +0200
commit3e43c39e472bb7d61dae40fd5c92f127d378c625 (patch)
tree6d7c566e78f141088b0a257611c70007595d566c
parentRemove gb_regex.h (diff)
Fixing declaration/implementation mismatch
I'm not entirely sure whether the declaration is wrong or the implementation, so if I got this backwards, apologies. But, there is presently no implementation of `gb_float33_9` and no declaration of `gb_float33_16`, so I assumed one was supposed to match the other. (I'm not actually using this function, but discovered the missing part when doing some automatic Lua bindings based on importing headers.)
-rw-r--r--gb_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gb_math.h b/gb_math.h
index 3682b4a..7b97f20 100644
--- a/gb_math.h
+++ b/gb_math.h
@@ -1399,7 +1399,7 @@ gbMat3 *gb_mat3_f(float m[3][3]) { return (gbMat3 *)m; }
gbFloat3 *gb_float33_m(gbMat3 *m) { return (gbFloat3 *)m; }
gbFloat3 *gb_float33_v(gbVec3 m[3]) { return (gbFloat3 *)m; }
-gbFloat3 *gb_float33_16(float m[9]) { return (gbFloat3 *)m; }
+gbFloat3 *gb_float33_9(float m[9]) { return (gbFloat3 *)m; }
void gb_float33_transpose(float (*vec)[3]) {
int i, j;