M3 { let Pm = portal.min let Pd = Dim(portal) let Pd_offset = Pd*cam_portal_offset let Pc = Pm + Pd_offset let Z = zoom let Cw = cam_pos_world let c = Pc - Z*Cw let res = M3(V3(Z.x, 0.0, 0.0), V3(0.0, Z.y, 0.0), V3(c.x, c.y, 1.0)) return res }
thesis. Czech Technical University in Prague, Faculty of Information Technology, 2015. Improved Alpha-Tested Magnification for Vector Textures and Special Effects Chris Green, Valve 2007 Legendary Font Rendering https://www.youtube.com/watch?v=_t3mtjoHuoQ Tsoding, 2023 Handmade Hero Chat 016 - Drawing a Circle on a 286 https://www.youtube.com/watch?v=kVtDEy1ndYg Casey Muratori, 2019