Replies: 1 comment 3 replies
-
|
Vector2 is several layers upper than fundamental math types. Methods from fundamental type can't depend on Vector2, or know anything about its layout etc. Thus, such a method can only be provided by a custom extension. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe I didn't see the method if it exists, or maybe my vision is very naïve, but for now I lack for a method like "SinCos" or "SinCosPi" but returning a Vector2(cos, sin), to use it directly in vector multiplications and FMA without having to do anything.
I think there must be methods like
Beta Was this translation helpful? Give feedback.
All reactions