r-lyeh-archived
r-lyeh-archived
Maybe it should be noted that xor swap does not work when a & b point to the same pointer/reference (or is the same object). ```C #include void swap( int...
I've started to do a custom range but it is far from being finished. What would be the best way to handle the logic/rendering for a couple of sliders/grabbers together...
Another improvement that allows to shift a grabber while dragging the other one: ```C++ // Put this section while dragging is active. Notes: // - assumes left is range[0] and...
hey @nem0, i just integrated your timeline with a few minor modifs :) awesome work! thanks! :) http://i.imgur.com/Va31qU4.gifv
@Flix01 sure edit: I havent played with columns here but I guess this is the way to go for the track labels.  ```c++ // https://github.com/ocornut/imgui/issues/76 // h namespace ImGui...
@meshula: cool! took me a while to figure out the input args but it finally worked :) mouse wheel now! :D
what's the problem with C99? ```C typedef union vec4 { struct { float x, y, z, w; }; float v[4]; } vec4; #include int main() { vec4 v = {...
https://github.com/DanielGibson/Snippets
https://cristianadam.eu/20160410/c-plus-plus-i-slash-o-benchmark/ (TL;DR fastest way: posix)
new CSC LZ5 RC2+