I’m re-writing code in C++ that I wrote in C#, and I’ve noticed that there doesn’t seem to be a ClampLength
function in the Vector3 class. Is this an oversight? If so, I can just copy-paste the function from C# and submit a PR.
I don’t see anything similar in c++. I would think you could make a PR with it.
Will do, thanks.
Here’s the PR:
It’s a similar story with the Mathf
MoveTowards
functions. I guess I can also add those.