Julian Stamm
Julian Stamm
I have the same issue currently I have to use this very ugly workaround: ```cpp #ifndef __STDC_LIB_EXT1__ #define __STDC_LIB_EXT1__ #define sprintf_s snprintf #endif #define STB_IMAGE_WRITE_IMPLEMENTATION #include ``` @ismagilli I also...
Hi, are there plans on a software backend?
Ok, this seems not possible because `Encoding` enforces `float` input
I found a solution, just changed the `write`-function: ```rs /// Write `data` to the texture. /// /// - `data`: 32-bit RGBA bitmap data. /// - `width`: The width of the...
Ok instead of just converting the data I made the font atlas texture and surface texture different, this solution is way cleaner: ```rs diff --git a/src/lib.rs b/src/lib.rs index 992856c..1757e61 100644...
Yes, I already thought so. I think that could be enough since one could write something like ```python match type(a): case A: print(a.x) case B: ... ``` then which should...
So I think this equation must be wrong, this is not an equality: Because starting with Snell's law: $$ \eta_i \sin(\theta_i) = \eta_o \sin(\theta_o) \iff \eta_i^2 \sin^2(\theta_i) = \eta_o^2 \sin^2(\theta_o)...