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

Review Camera3D functions and fix bool usage

This commit is contained in:
Rgebee 2023-04-15 10:39:26 +01:00
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>