summaryrefslogtreecommitdiff
path: root/src/glm_bindings.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-11-29 21:43:05 -0600
committersanine-a <sanine.not@pm.me>2020-11-29 21:43:05 -0600
commit8a75194c51a189f9c8f72d9821beb00b7f75d06d (patch)
tree2971fa67f21c5df34ff19ad4fe029f5511f9c955 /src/glm_bindings.h
parentb0b35014d6da1225047e0abc09a7a972a29ba7cb (diff)
refactor affine transform bindings
Diffstat (limited to 'src/glm_bindings.h')
-rw-r--r--src/glm_bindings.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/glm_bindings.h b/src/glm_bindings.h
index 45424ee..c9eaa91 100644
--- a/src/glm_bindings.h
+++ b/src/glm_bindings.h
@@ -120,4 +120,72 @@ int honey_glm_vec4_clamp(lua_State* L);
int honey_glm_vec4_lerp(lua_State* L);
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ *
+ * Mat3 Functions
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
+
+int honey_glm_mat3_copy(lua_State* L);
+
+int honey_glm_mat3_eye(lua_State* L);
+
+int honey_glm_mat3_zero(lua_State* L);
+
+int honey_glm_mat3_mul(lua_State* L);
+
+int honey_glm_mat3_transpose(lua_State* L);
+
+int honey_glm_mat3_mulv(lua_State* L);
+
+int honey_glm_mat3_scale(lua_State* L);
+
+int honey_glm_mat3_det(lua_State* L);
+
+int honey_glm_mat3_inv(lua_State* L);
+
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ *
+ * Mat4 Functions
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
+
+int honey_glm_mat4_copy(lua_State* L);
+
+int honey_glm_mat4_eye(lua_State* L);
+
+int honey_glm_mat4_zero(lua_State* L);
+
+int honey_glm_mat4_mul(lua_State* L);
+
+int honey_glm_mat4_transpose(lua_State* L);
+
+int honey_glm_mat4_mulv(lua_State* L);
+
+int honey_glm_mat4_scale(lua_State* L);
+
+int honey_glm_mat4_det(lua_State* L);
+
+int honey_glm_mat4_inv(lua_State* L);
+
+int honey_glm_translate(lua_State* L);
+
+int honey_glm_translate_x(lua_State* L);
+
+int honey_glm_translate_y(lua_State* L);
+
+int honey_glm_translate_z(lua_State* L);
+
+int honey_glm_scalev(lua_State* L);
+
+int honey_glm_rotate_x(lua_State* L);
+
+int honey_glm_rotate_y(lua_State* L);
+
+int honey_glm_rotate_z(lua_State* L);
+
+int honey_glm_rotate(lua_State* L);
+
#endif