We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
logan bender
I moved on to episode 006 and Casey Addresses this 'W" vs "A" API calls a little It looks like he …
»
Mārtiņš Možeiko
In such cases you should use debugger. Put breakpoints and step over line by line to see how code …
»
logan bender
the problem, I think, is that one of the 'if' evaluations for RegisterClassExW or CreateWindowExW…
»
Mārtiņš Možeiko
What does "CreateWindowExW() no longer returns a result" means? This function always returns resul…
»
logan bender
Thanks for your replies, and reminding me that there are both ASCII and UNICODE versions of many o…
»
Mārtiņš Možeiko
All TEXT("foo") does is to expand it to either "foo" or L"foo" depending on whether you have UNICO…
»
logan bender
thanks for your advice. Prefixing with "L" causes a compile error WindowClass.lpszClassName = L"…
»
Mārtiņš Možeiko
I would recommend against using TEXT() macro. There is zero reason nowadays to write code for supp…
»
Simon Anciaux
LPCWSTR is a pointer to a "wide" character string (the W in the name), which is a 16 bit per chara…
»
logan bender
I'm picking backup my HMH project after a year off Using VS code , it complains: a value of type "…
»
ratchetfreak
a cpysign at the end to get the result of the sin remapped beck from 0 - pi/2 to -pi/2 - 0 is a fa…
»
desiredusername
Hi, I'm using Windows 10 and RemedyBG 0.3.8.5. On my laptop (Lenovo X1) when I click on "Session" …
»
Mārtiņš Možeiko
abs is the operation that does remapping same parabola to 0..pi/2 just with negative sign in cases…
»
longtran2904
The link didn't work for me, but it does now. The author calculated sin in the range [-pi, pi] usi…
»
Mārtiņš Možeiko
It's just derived from parabola equation. Look at that web archive link of devmaster. It explains …
»
longtran2904
Regarding the parabola equation, I know that 1.27323954473516 is 4 / PI (based on Casey's Turns ar…
»
Mārtiņš Možeiko
The one in wikipedia does 0..360 range. So simply replace each x with x*360 and you'll get 0..1 ra…
»
longtran2904
Regarding the Bhaskarasine formula, Is there any way for it to take turns (0-1 range) rather than …
»
Gaurav Gautam
Thankyou both for the links. I'm going through them :)
»
Simon Anciaux
I believe this episodes (day 440) of handmade hero gives some explanations about how it work (not …
»
Mārtiņš Možeiko
It was not implemented, and sinf from CRT is called in the code. There is no "hardware instruction…
»
Gaurav Gautam
Please tell me he was just going to use the hardware instruction... this is a project in itself.
»
Gaurav Gautam
I have been going over the first few days of HMH trying to get them in my head, and the TODO about…
»
Jeff Knox
Okay, now you've piqued my interest. XD What exactly do you find dishonest about a range [0-10)? …
»
x13pixels
New version of RemedyBG is available for download on itch.io. New FeatureAdded a Control | Source …
»
longtran2904
A popular use for macros is for extending syntax, but this often goes wrong. Even if you have a la…
»
Christoffer Lernö
Macros and compile time evaluation are popular ways to extend a language. While macros fell out of…
»
Simon Anciaux
Shouldn't the link to enter in feed reader be https://macoy.me/rss instead of https://macoy.me ? I…
»
Gaurav Gautam
Well.... I have used elaborate type systems from time to time in haskell and typescript. And after…
»
Christoffer Lernö
It's increasingly popular to use type inference for variable declarations. – and it's understand…
»