今日已更新 304 条资讯 | 累计 21170 条内容
关于我们

Branchless Cardinal Direction Movement

/u/CardiologistLow6042 2026年05月31日 23:50 2 次阅读 来源:Reddit r/programming

I developed a branchless, zero-dependency formula to handle cardinal direction movement without lookup arrays, which I call the Hichem formula . It uses phase-shifted triangle waves to compute dx and dy entirely at the ALU level, making it highly efficient for GPU and embedded applications. submitted by /u/CardiologistLow6042 [link] [留言]

本文内容来源于互联网,版权归原作者所有
查看原文