Jump to content


Photo

REQUEST CODING


  • Please log in to reply
2 replies to this topic

#1 amain

amain
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 03 March 2006 - 09:53 AM

Can someone give coding for calculate the distance between two points? The points is set by user.

#2 ccl

ccl
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 09 March 2006 - 12:03 AM

This is pseudo code:

var a = math.abs((pointA.x -pointB.x) * (pointA.x - pointB.x));
var b = math.abs((pointA.y -pointB.y) * (pointA.x - pointB.y));
var h = a + b;
var distance = math.sqrt(h);

#3 amain

amain
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 22 March 2006 - 06:32 AM

Thank eor...
I want the coding for upload the image to the folder...
Can somebody help me?
If you can eor,please help me




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users