Skip to content

Allow reusing Vector2 instance #1

@implicit-invocation

Description

@implicit-invocation

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions