GetHalfRightDirection(float)

Returns a normalized value that is -45 from fDirection

float GetHalfRightDirection(
    float fDirection
);

Parameters

fDirection

Current facing


Description

This is a convenience function that returns a float representing a normalized angle that is -45 degrees from the direction passed in. (if Facing North, a North-East direction).



Requirements

#include "x0_i0_position"

Version

1.61

See Also

categories: Miscellaneous Functions | Movement Functions


 author: Michael Nork