That thread is well over SIX years old. Is that some kind of new record on this forum? Has to be.

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteNews on this (good news) are imminent (hope that's the right spelling). Working very hard every chance I get between University and other projects.
Quote from: Mr. Matti on Mon 10/05/2010 12:33:20Quote from: dkh on Sun 09/05/2010 13:43:02
Remember, you can't code something you haven't fully thought out before hand.
That's a lesson I gotta learn. I always start coding and afterwards I realize that I could've done it so much quicker and better.
void Vector::Normalize ( )
{
float l = this.Length ( );
if ( l == 1.0 || l == 0.0 )
return;
float tmp = 1.0 / l;
this.x = this.x * tmp;
this.y = this.y * tmp;
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.417 seconds with 20 queries.