Skip to content
New issue

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

Allow reusing Vector2 instance #1

Open
implicit-invocation opened this issue Jun 16, 2017 · 1 comment
Open

Allow reusing Vector2 instance #1

implicit-invocation opened this issue Jun 16, 2017 · 1 comment
Assignees

Comments

@implicit-invocation
Copy link

https://github.com/aloisdeniel/Comora/blob/master/Sources/Comora/Camera.cs#L190

Can you modify these to use public static void Transform(ref Vector2 position, ref Matrix matrix, out Vector2 result) and avoid some GC?

@aloisdeniel
Copy link
Collaborator

Sure I'll push an update very soon. That makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants