diff options
| author | jussi | 2024-11-20 17:10:42 +0200 |
|---|---|---|
| committer | jussi | 2024-11-20 17:10:42 +0200 |
| commit | cf2c2eb05bd5d30169771b0087df84a53124f766 (patch) | |
| tree | 8549266d3acdaed60e89ad1b49f67a437e9fb26c /API.md | |
| parent | cddfc09ccc286726736fa436a10919021a177b69 (diff) | |
| download | reilua-enhanced-cf2c2eb05bd5d30169771b0087df84a53124f766.tar.gz reilua-enhanced-cf2c2eb05bd5d30169771b0087df84a53124f766.tar.bz2 reilua-enhanced-cf2c2eb05bd5d30169771b0087df84a53124f766.zip | |
Type class updates.
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 76 |
1 files changed, 76 insertions, 0 deletions
@@ -11273,6 +11273,82 @@ Ease elastic in out --- +## Bitwise Operations - Arithmetic + +--- + +> result = RL.BitAnd( int a, int b ) + +Equivalent to a & b in C + +- Success return int + +--- + +> result = RL.BitOr( int a, int b ) + +Equivalent to a | b in C + +- Success return int + +--- + +> result = RL.BitXor( int a, int b ) + +Equivalent to a ^ b in C + +- Success return int + +--- + +> result = RL.BitNot( int v ) + +Equivalent to ~v in C + +- Success return int + +--- + +> result = RL.BitShiftLeft( int v, int n ) + +Equivalent to v << n in C + +- Success return int + +--- + +> result = RL.BitShiftRight( int v, int n ) + +Equivalent to v >> n in C + +- Success return int + +--- + +> result = RL.BitSet( int v, int i, bool b ) + +Set bit in index i to state b in value v + +- Success return int + +--- + +> bit = RL.BitGet( int v, int i ) + +Get bit in index i from value v + +- Success return bool + +--- + +> result = RL.BitToggle( int v, int i ) + +Toggle bit in index i in value v + +- Success return int + +--- + ## GLFW Core - Input-related functions: keyboard --- |
