Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / calculating hill angle on a matrix

Author
Message
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Feb 2008 19:12
Hey guys!

I have searched the forum and couldn`t find how to calculate the angle of a hill on the matrix(how steep it`s going up/down).

Does anyone have any Ideas?

TheComet

Oooooops!!! I accidentally formated drive c.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 6th Feb 2008 20:37
Here's a snippet adapted from the snowboarding example by Phaelax that I found on the Code Snippets board.



TDK_Man

Login to post a reply

Server time is: 2025-06-04 02:12:01
Your offset time is: 2025-06-04 02:12:01