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

Review Camera3D functions and fix bool usage

This commit is contained in:
2023-04-15 10:39:26 +01:00
parent 63e2984f72
commit 7e50d25e71
2 changed files with 80 additions and 5 deletions

View File

@ -235,6 +235,15 @@ namespace Raylib_cs
}
}
/// <summary>Update camera movement/rotation</summary>
public static void UpdateCameraPro(ref Camera3D camera, Vector3 movement, Vector3 rotation, float zoom)
{
fixed (Camera3D* c = &camera)
{
UpdateCameraPro(c, movement, rotation, zoom);
}
}
/// <summary>
/// Check the collision between two lines defined by two points each, returns collision point by reference
/// </summary>