From 9fcba388168b22a877d3bb5d7d701372a374a8d7 Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Sun, 28 Aug 2022 10:44:45 +0100 Subject: [PATCH] Fix Vector2Rotate --- Raylib-cs/interop/Raymath.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Raylib-cs/interop/Raymath.cs b/Raylib-cs/interop/Raymath.cs index 99a49c7..7ef3ece 100644 --- a/Raylib-cs/interop/Raymath.cs +++ b/Raylib-cs/interop/Raymath.cs @@ -108,9 +108,9 @@ namespace Raylib_cs [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Vector2 Vector2Lerp(Vector2 v1, Vector2 v2, float amount); - /// Calculate linear interpolation between two vectors + /// Rotate vector by angle [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern Vector2 Vector2Rotate(Vector2 v, float degs); + public static extern Vector2 Vector2Rotate(Vector2 v, float angle); /// Vector with components value 0.0f