GetHalfLeftDirection

From NWN Lexicon



Contents

[edit] GetHalfLeftDirection(float)

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

float GetHalfLeftDirection(
    float fDirection
);

[edit] Parameters

fDirection

Current Facing


[edit] 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)



[edit] Requirements

#include " x0_i0_position "

[edit] Version

1.61

[edit] See Also



 author: Michael Nork
 

Personal tools
Categories