We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/StansAssets/com.stansassets.foundation/blob/master/Runtime/Extensions/UnityEngine/Vector3Extensions.cs#L16-L22
this is the same as: return (b - a).sqrMagnitude (https://docs.unity3d.com/ScriptReference/Vector3-sqrMagnitude.html)
return (b - a).sqrMagnitude
https://github.com/StansAssets/com.stansassets.foundation/blob/master/Runtime/Extensions/UnityEngine/Vector3Extensions.cs#L30-L36
this is the same as return a * s (https://docs.unity3d.com/ScriptReference/Vector3-operator_multiply.html)
return a * s
https://github.com/StansAssets/com.stansassets.foundation/blob/master/Runtime/Extensions/UnityEngine/Vector3Extensions.cs#L44-L51
this is the same as return Vector3.Sacle(a, b) (https://docs.unity3d.com/ScriptReference/Vector3.Scale.html)
return Vector3.Sacle(a, b)
same things apply for Vector2Extensions
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/StansAssets/com.stansassets.foundation/blob/master/Runtime/Extensions/UnityEngine/Vector3Extensions.cs#L16-L22
this is the same as:
return (b - a).sqrMagnitude
(https://docs.unity3d.com/ScriptReference/Vector3-sqrMagnitude.html)https://github.com/StansAssets/com.stansassets.foundation/blob/master/Runtime/Extensions/UnityEngine/Vector3Extensions.cs#L30-L36
this is the same as
return a * s
(https://docs.unity3d.com/ScriptReference/Vector3-operator_multiply.html)https://github.com/StansAssets/com.stansassets.foundation/blob/master/Runtime/Extensions/UnityEngine/Vector3Extensions.cs#L44-L51
this is the same as
return Vector3.Sacle(a, b)
(https://docs.unity3d.com/ScriptReference/Vector3.Scale.html)same things apply for Vector2Extensions
The text was updated successfully, but these errors were encountered: