💬

Community answer

Collected from the ACE community Discord archive around 2023-09-17. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Aspect ratio and matrix math for screen rendering

🌙 LuaUpdated 2 days ago•0 views
Check starfall_screen's cl_init.lua (~line 56) - it handles aspect ratio and matrix multiplication for mapping 2D screen coords; reuse that approach.

How to account for matrix multiplication / aspect ratio when drawing on screens

Check starfall_screen's cl_init.lua (~line 56) - it handles aspect ratio and matrix multiplication for mapping 2D screen coords; reuse that approach.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.