$Date: 2005/10/23 10:36:32 $
$Revision: 1.7 $
-- creation procedure
-- creates a direction from both given coefficients
-- takes an angle and creates a direction from the given angle
-- returns the angle (in radian), computed by x and y coefficients of the direction
-- WARNING: do not use, if not absolutely necessary, because of computation.
-- the variables x and y have direct access, and must not be computed again from the angle
-- Trigonometric arccosine of radian v
-- in the range [0, pi]
-- (From DOUBLE_MATH)
-- Trigonometric arcsine of radian v
-- in the range [-pi/2, +pi/2]
-- (From DOUBLE_MATH)
-- Trigonometric arctangent of radian v
-- in the range [-pi/2, +pi/2]
-- (From DOUBLE_MATH)
-- Least integral greater than or equal to v
-- (From DOUBLE_MATH)
-- Trigonometric cosine of radian v approximated
-- in the range [-pi/4, +pi/4]
-- (From DOUBLE_MATH)
-- Absolute of v
-- (From DOUBLE_MATH)
-- Greatest integral less than or equal to v
-- (From DOUBLE_MATH)
-- Natural logarithm of v
-- (From DOUBLE_MATH)
-- Base 10 logarithm of v
-- (From DOUBLE_MATH)
-- Base 2 logarithm of v
-- (From DOUBLE_MATH)
-- Trigonometric sine of radian v approximated
-- in range [-pi/4, +pi/4]
-- (From DOUBLE_MATH)
-- Square root of v
-- (From DOUBLE_MATH)
-- Trigonometric tangent of radian v approximated
-- in range [-pi/4, +pi/4]
-- (From DOUBLE_MATH)
-- Vertical coefficient
-- Horizontal coefficient
-- adds a direction to current
-- sets the direction with x and y coefficients (this normalizes the coefficients automatically)
-- creation procedure
-- takes an angle and creates a direction from the given angle
-- creates a direction from both given coefficients
-- Sum with other (commutative).
-- returns the equivalend EM_VECTOR_2D
-- Textual representation
-- (From ANY)
Normalized 2D vector, used for directions. uses the coefficients to save the direction
Please note, that on the screen, y is negative, and therefore the angles
start from the right (0 radian), go down (pi/2 radian), left (pi radian)
and finally top (3*pi/2 radian)