summaryrefslogtreecommitdiff
path: root/src/cglm_bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cglm_bindings.h')
-rw-r--r--src/cglm_bindings.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cglm_bindings.h b/src/cglm_bindings.h
index 09a29c3..ba7714e 100644
--- a/src/cglm_bindings.h
+++ b/src/cglm_bindings.h
@@ -508,4 +508,16 @@ int honey_cglm_perspective(lua_State* L);
*/
int honey_cglm_orthographic(lua_State* L);
+/** @brief Compute the view matrix.
+ *
+ * @param[in] position The camera's vec3 position.
+ * @param[in] direction The vec3 direction the camera is facing.
+ * @param[in] up The camera's vec3 up vector.
+ * @param[out] dest The view matrix destination.
+ *
+ * @returns Nothing.
+ */
+int honey_cglm_look(lua_State* L);
+
+
#endif