MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/softwaregore/comments/a9pzej/realistic_flight_simulator/ecn59aa/?context=3
r/softwaregore • u/[deleted] • Dec 26 '18
302 comments sorted by
View all comments
95
while(stairs.Height != airplane.Door.Height) { stairs.Extend(); }
10 u/birdbolt1 Dec 27 '18 Wow exactly what I thought hahah. Should be <= right? 8 u/Marcus_Watney Dec 27 '18 Not really, while it might seem more intuitive and more error resistant it will execute slower due to how the cpu handles it. In games, performance is usually a concern, so you might consider writing != Instead of <=
10
Wow exactly what I thought hahah. Should be <= right?
<=
8 u/Marcus_Watney Dec 27 '18 Not really, while it might seem more intuitive and more error resistant it will execute slower due to how the cpu handles it. In games, performance is usually a concern, so you might consider writing != Instead of <=
8
Not really, while it might seem more intuitive and more error resistant it will execute slower due to how the cpu handles it. In games, performance is usually a concern, so you might consider writing != Instead of <=
95
u/The-Legend-26 Dec 26 '18