OT: Leaving Rust gamedev after 3 years
evilrat
evilrat666 at gmail.com
Mon Apr 29 10:15:46 UTC 2024
On Monday, 29 April 2024 at 08:12:22 UTC, Monkyyy wrote:
> On Monday, 29 April 2024 at 03:51:09 UTC, Bruce Carneal wrote:
>>
>> If they're silent how do you know they failed?
>
> Because you get to debug a silent runtime error all the time,
> and at this point I just assume it's a float being nan
>
> I'm pretty sure this is just the gpus reaction to nan, draw
> calls being ignored
Yep, rule #1 for me, when see extern C/C++ type/function - always
add zero initializer for float/float arrays.
Very few libraries handle nans correctly from my limited
experience.
More information about the Digitalmars-d
mailing list