Liberty BASIC Community Forum
« ray casting 2.0 »

Welcome Guest. Please Login or Register.
Jan 21st, 2018, 6:16pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: ray casting 2.0  (Read 569 times)
Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5618
xx Re: ray casting 2.0
« Reply #15 on: Jan 6th, 2018, 03:59am »

I believe you only need the ABS() length. But that then leads to an arcsin out of range error. Do you need to normalise the values before calculating the angle? But I only guess.

You really need to take one set of known points through the calculations and be sure they are returning what you expect.
User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls