Dota 2 Workshop Tools/Scripting/API/Global.AxisAngleToQuaternion: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
| Line 6: | Line 6: | ||
''' Quaternion AxisAngleToQuaternion(Vector '' | ''' Quaternion AxisAngleToQuaternion(Vector ''Vector_1'', float ''float_2'') ''' | ||
''(''vector'',''float'') constructs a quaternion representing a rotation by angle around the specified ''vector'' axis'' | ''(''vector'',''float'') constructs a quaternion representing a rotation by angle around the specified ''vector'' axis'' | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| Vector | | Vector | ||
| | | Vector_1 | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| float | | float | ||
| | | float_2 | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Revision as of 03:28, 19 June 2015
Function Description
Quaternion AxisAngleToQuaternion(Vector Vector_1, float float_2)
(vector,float) constructs a quaternion representing a rotation by angle around the specified vector axis
Parameters
| Type | Name | Description |
|---|---|---|
| Vector | Vector_1 | No Description Set |
| float | float_2 | No Description Set |
Returns
Quaternion - No Description Set