Fix Vector2Rotate
This commit is contained in:
parent
be793b089c
commit
9fcba38816
1 changed files with 2 additions and 2 deletions
|
|
@ -108,9 +108,9 @@ namespace Raylib_cs
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Vector2 Vector2Lerp(Vector2 v1, Vector2 v2, float amount);
|
public static extern Vector2 Vector2Lerp(Vector2 v1, Vector2 v2, float amount);
|
||||||
|
|
||||||
/// <summary>Calculate linear interpolation between two vectors</summary>
|
/// <summary>Rotate vector by angle</summary>
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Vector2 Vector2Rotate(Vector2 v, float degs);
|
public static extern Vector2 Vector2Rotate(Vector2 v, float angle);
|
||||||
|
|
||||||
|
|
||||||
/// <summary>Vector with components value 0.0f</summary>
|
/// <summary>Vector with components value 0.0f</summary>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue