File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,24 @@ making of [video](https://youtube.com/watch?v=3TOEZ7krhvI) on YouTube.
89
89
90
90
## Learning Material Updates
91
91
92
+ ### [ A Trig-less Line of Sight Algorithm for 2D Games] [ lineofsight ]
93
+
94
+ ![ 2D Sight Example] ( lineofsight.png )
95
+
96
+ [ @basstabs ] published a [ tutorial] ( https://basstabs.github.io/2d-line-of-sight/ )
97
+ which explains how to write a line of sight algorithm for 2D games in Rust
98
+ without using trigonometry or square roots. It includes vector diagrams and
99
+ typset math to explain the ideas behind each stage of the algorithm, source
100
+ code for each step, tests to verify accuracy of the methods, and suggestions for
101
+ further improvements. Additionally, the
102
+ [ repository] ( https://github.com/basstabs/2d-line-of-sight ) contains benchmarks
103
+ and a sample application written in [ ggez] ( https://crates.io/crates/ggez ) .
104
+
105
+ _ Discussions: [ /r/rust_gamedev] (https://www.reddit.com/r/rust\_gamedev/comments/
106
+ nx79kq/a\_ trigless\_ line\_ of\_ sight\_ algorithm\_ for\_ 2d\_ games/)_
107
+
108
+ [ A Trig-less Line of Sight Algorithm for 2D Games ] : https://basstabs.github.io/2d-line-of-sight/
109
+
92
110
## Library & Tooling Updates
93
111
94
112
### [ erupt]
You can’t perform that action at this time.
0 commit comments