Skip to content

Commit

Permalink
Fix Vector2Clamp and remove MatrixNormalize (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdill authored Feb 21, 2023
1 parent 21c0104 commit e05f316
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Raylib-cs/interop/Raymath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static unsafe partial class Raymath
/// Clamp the components of the vector between min and max values specified by the given vectors
/// </summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Vector2 Vector2Clamp(Vector2 v);
public static extern Vector2 Vector2Clamp(Vector2 v, Vector2 min, Vector2 max);

/// <summary>Clamp the magnitude of the vector between two min and max values</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
Expand Down Expand Up @@ -331,10 +331,6 @@ public static unsafe partial class Raymath
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Matrix4x4 MatrixInvert(Matrix4x4 mat);

/// <summary>Normalize provided matrix</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Matrix4x4 MatrixNormalize(Matrix4x4 mat);

/// <summary>Get identity matrix</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Matrix4x4 MatrixIdentity();
Expand Down

0 comments on commit e05f316

Please sign in to comment.