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.

Newcomers DBPro Corner / Help with vectors

Author
Message
Dark Asmodeous
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location:
Posted: 4th Dec 2007 00:18
Alright, so we're working on a program to help us with both our geometry, as well as our mathematics in relation to programing. At the moment, we're working with the issue of rotating an equilateral triangle, a la proposition 1 of euclid's elements, we want it to be scaleable, as well as rotateable. So, knowing the lengths of all sides, as well as the height, and the two points of the base, we should be able to find the third point using vectors, mathematicaly, we think we understand it, but we need help in understanding how to apply vectors in DarkBASIC.

Help please

I disagree.
HeavyAmp
18
Years of Service
User Offline
Joined: 25th Oct 2006
Location: Castle in the Sky!
Posted: 4th Dec 2007 01:26
I haven't played around with vectors yet. I should get onto that as they are important to know but I wrote a Code Snippet that might or might not be useful to you.



Better to be dead, than to live your life afraid.

Login to post a reply

Server time is: 2024-11-25 09:32:08
Your offset time is: 2024-11-25 09:32:08