GetOppositeDirection(float)

Returns a normalized direction that is -180 from fDirection

float GetOppositeDirection(
    float fDirection
);

Parameters

fDirection

Current direction


Description

This is a convenience function that returns a float representing a normalized angle that is -180 degrees from fDirection.



Requirements

#include "x0_i0_position"

Version

1.61

See Also

categories: Math Functions | Miscellaneous Functions | Movement Functions


 author: Michael Nork