GetNormalizedDirection(float)

This function returns a float that is constrained from 0 - 360

float GetNormalizedDirection(
    float fDirection
);

Parameters

fDirection

Direction to be normalized


Description

This is a convenience function that returns a normalized float that has been constrained to the range 0.0 - 360.0 so that it can be used as a direction.



Requirements

#include "x0_i0_position"

Version

1.61

See Also

categories: Math Functions | Miscellaneous Functions | Movement Functions


 author: Michael Nork