Comora
Comora copied to clipboard
A simple 2D camera for Monogame.
No idea why though
I make a Vector2(0,0), and if I render a sprite in this position, the sprite will rendered at center of screen, but, if I use camera.ToWorld with mouse position, it...
It will help to optimize my game performance in render thread, please.
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?
The documentation states that there is spriteBatch extension method that allows for a parallaxmode to be set. However, there is no such extension.