Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
Returns the Rotation needed to rotate the object from the Current Rotation to the Desired Rotation
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static float GetRotationTo(
float fCurrentRotation,
float fDesiredRotation
)
|
Visual Basic
|
Public Shared Function GetRotationTo (
fCurrentRotation As Single,
fDesiredRotation As Single
) As Single
|
Visual C++
|
public:
static float GetRotationTo(
float fCurrentRotation,
float fDesiredRotation
)
|
Parameters
fCurrentRotation
Type: System..::..Single
The object's Current Rotation in radians
fDesiredRotation
Type: System..::..Single
The object's Desired Rotation in radians
Return Value
Type: Single
Returns the Rotation needed to rotate the object from the Current Rotation to the Desired Rotation
See Also
Orientation2D Class
Orientation2D Members
DPSF Namespace
Send comments on this topic to
|