Fenix Manual
Fenix Manual
Command Reference
Math Commands

Abs
Acos
Advance
Asin
Atan
Cos
Fget_Angle
Fget_Dist
Near_Angle
Pow
Rand
Rand_Seed
Sin
Sqrt
Tan
Xadvance

Fget_Dist
Last Modified: May 29, 2005 21:05PM
(Any)
Description

FGET_DIST (INT X1, INT Y1, INT X2, INT Y2)

PARAMETERS:
x1: X Coordinate of the first point.
y1: Y Coordinate of the first point.
x2: X Coordinate of the second point.
y2: Y Coordinate of the second point.

DESCRIPTION:
This function gives back the distance between two given points. This is a relatively slow function, that gives back an exact result (although roundingto a whole number of pixels) using a square root.

User Contributed Notes
Fget_Dist
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Mon, 30 May 2005 - 10:33:03

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters