Skip to content

Commit

Permalink
Fix wrong obsolete message
Browse files Browse the repository at this point in the history
Fix wrong obsolete message for method "public static Matrix4 Rotate(Quaternion q)"
from CreateRotation to CreateFromQuaternion
  • Loading branch information
bawaaaaah authored Sep 30, 2016
1 parent 19eee6f commit d050252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenTK/Math/Matrix4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ public static Matrix4 Rotate(Vector3 axis, float angle)
/// </summary>
/// <param name="q">the quaternion</param>
/// <returns>A rotation matrix</returns>
[Obsolete("Use CreateRotation instead.")]
[Obsolete("Use CreateFromQuaternion instead.")]
public static Matrix4 Rotate(Quaternion q)
{
return CreateFromQuaternion(q);
Expand Down

0 comments on commit d050252

Please sign in to comment.