Watch
2
0
Fork
You've already forked raylib-cs
0

Start to port to 5.0.0

This commit is contained in:
MrScautHD 2023-11-19 12:04:39 +01:00
commit e009520be3
8 changed files with 158 additions and 13 deletions

View file

@ -247,6 +247,14 @@ public static unsafe partial class Raymath
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Vector3 Vector3Normalize(Vector3 v);
/// <summary>Calculate the projection of the vector v1 on to v2</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Vector3 Vector3Project(Vector3 v1, Vector3 v2);
/// <summary>Calculate the rejection of the vector v1 on to v2</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Vector3 Vector3Reject(Vector3 v1, Vector3 v2);
/// <summary>
/// Orthonormalize provided vectors<br/>
/// Makes vectors normalized and orthogonal to each other<br/>