GetHalfLeftDirection

From NWN Lexicon
Jump to navigationJump to search



GetHalfLeftDirection(float)

This function returns a number that is +45 degrees from the current facing

float GetHalfLeftDirection(
    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 fDirection. (if facing north, a direstion that is north-west).

Calls
float GetNormalizedDirection(float fDirection)



Requirements

#include " x0_i0_position "

Version

1.61

See Also



 author: Michael Nork