Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
cXtraWindowsConf
ini-script
asASIOout
StyleUtil
Wait for Cue Point GTF
New bitmap from existing member
SM scroll control
Blend Sprite
Scroll Up/Down
Ceiling and floor math functions
MediaMacros Xtras Mall
 

 

 

Behavior Angle detection by J.R.D.R.

Added on 6/16/2003

 

Compatibilities:
D7 D8 D8_5 D9 Mac PC Shockwave

This item has not yet been rated

Author: JRDR

Custom math function calculates the angle between two points. The returned values are between –180…180 degrees and never divides by zero. atan2 ( startPoint, endpoint )

on atan2 pt1, pt2
  sl = pt2 - pt1
  a = atan(sl[2],sl[1]) * 180 / pi
  return a
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail