DX9ToolsR4 - Created by: X

MathHelpers.Displacement Method (Displacement, Single, Single)

Moves a position using an angle and speed value.

[Visual Basic]
Overloads Public Shared Function Displacement( _
   ByVal What As Displacement, _
   ByVal Speed As Single, _
   ByVal Angle As Single _
) As Single
[C#]
public static float Displacement(
   Displacement What,
   float Speed,
   float Angle
);

Parameters

What
Specifies what axis to move.
Speed
The speed (distance) to move the position.
Angle
The angle that the position will be moved along.

Return Value

Returns the moved position.

See Also

MathHelpers Class | CBX.Libs.DX9ToolsR4 Namespace | MathHelpers.Displacement Overload List