summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bitwiseOp.h12
-rw-r--r--include/rmath.h1
2 files changed, 13 insertions, 0 deletions
diff --git a/include/bitwiseOp.h b/include/bitwiseOp.h
new file mode 100644
index 0000000..e2d3c42
--- /dev/null
+++ b/include/bitwiseOp.h
@@ -0,0 +1,12 @@
+#pragma once
+
+/* Arithmetic. */
+int lbitAnd( lua_State* L );
+int lbitOr( lua_State* L );
+int lbitXor( lua_State* L );
+int lbitNot( lua_State* L );
+int lbitShiftLeft( lua_State* L );
+int lbitShiftRight( lua_State* L );
+int lbitSet( lua_State* L );
+int lbitGet( lua_State* L );
+int lbitToggle( lua_State* L );
diff --git a/include/rmath.h b/include/rmath.h
index 249bcce..07132aa 100644
--- a/include/rmath.h
+++ b/include/rmath.h
@@ -5,6 +5,7 @@ int imax( int a, int b );
/* Utils. */
int lmathRound( lua_State* L );
+int lmathSign( lua_State* L );
int lmathClamp( lua_State* L );
int lmathLerp( lua_State* L );
int lmathNormalize( lua_State* L );