Avokadoen / zig_vulkan

Toying with vulkan and zig
48 stars 2 forks source link

Fix Camera zoom #34

Closed Avokadoen closed 2 years ago

Avokadoen commented 3 years ago

A simple camera abstraction which allow you to pan and zoom in a sprite scene

Avokadoen commented 3 years ago

Idea for a fix: when you apply zoom, offset position so it seems like the camera is stationary. This will require some fancy trigonometry

Avokadoen commented 2 years ago

render2d is remove from the repo