Our great sponsors
-
This seemed useful because it at least implies they are handling the angles in x and y rather than using some other coordinates but it also raised some questions. If I assumed the function RandomFloat was gaussian, why are two calls being added together? I also wasn't sure if the arguments passed were limits being placed on it or something else. Digging further I got to this file with another relevant code block.
-
here's the full thing https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/shared/shot_manipulator.h
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.