2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Port to Raylib-5.0.0 (#210)

Co-authored-by: ChrisDill <chris.rj.dill@gmail.com>
This commit is contained in:
MrScautHD
2023-12-27 13:17:57 +01:00
committed by GitHub
parent ff85d9ae83
commit 43f1924faa
13 changed files with 237 additions and 26 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/>