Jump to content

Archived

This topic is now archived and is closed to further replies.

amain

REQUEST CODING

Recommended Posts

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

Share this post


Link to post
Share on other sites
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);

Share this post


Link to post
Share on other sites
Thank eor...
I want the coding for upload the image to the folder...
Can somebody help me?
If you can eor,please help me

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.