MathHelperRotateHeading Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Rotates the specified heading the specified number of degrees, and returns the normalized result.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static float RotateHeading(
	float heading,
	float degrees
)

Parameters

heading
Type: SystemSingle
The heading to base the rotation on.
degrees
Type: SystemSingle
The degrees to rotate.

Return Value

Type: Single
The rotated and normalized heading.
See Also

Reference