File tree 2 files changed +19
-0
lines changed
Filter options
2 files changed +19
-0
lines changed
Original file line number Diff line number Diff line change @@ -134,6 +134,25 @@ telnet protocols and TLS connections to name a few.
134
134
135
135
## Learning Material Updates
136
136
137
+ ### [ A Trig-less Line of Sight Algorithm for 2D Games] [ lineofsight ]
138
+
139
+ ![ 2D Sight Example] ( lineofsight.png )
140
+
141
+ [ @basstabs ] published a tutorial which explains how to write a
142
+ line of sight algorithm for 2D games in Rust without using trigonometry or
143
+ square roots. It includes vector diagrams and typeset math to explain the ideas
144
+ behind each stage of the algorithm, source code for each step, tests to verify
145
+ accuracy of the methods, and suggestions for further improvements.
146
+ Additionally, the
147
+ [ repository] ( https://github.com/basstabs/2d-line-of-sight ) contains benchmarks
148
+ and a sample application written in [ ggez] ( https://crates.io/crates/ggez ) .
149
+
150
+ _ Discussions: [ /r/rust_gamedev] (
151
+ https://www.reddit.com/r/rust\_gamedev/comments/nx79kq/ )_
152
+
153
+ [ lineofsight ] : https://basstabs.github.io/2d-line-of-sight/
154
+ [ @basstabs ] : https://github.com/basstabs
155
+
137
156
## Library & Tooling Updates
138
157
139
158
### [ erupt]
You can’t perform that action at this time.
0 commit comments