2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-05 11:19:39 -04:00

6 Commits

Author SHA1 Message Date
8b522882f6 Replacing Matrix with Matrix4x4.
- Matrix in raylib is column major whereas in numerics it is row major. The type marshals and works but it needs to be transposed before it can be used. At first I looked into keeping the matrix
type and converting between the 2 as that made sense but I think using just the on type and documenting the difference is a better tradeoff. It may be easy to create bugs by forgetting to transpose but with good documentation I think this is better than having to deal with the 2 types. I may be wrong about this so we will see how it goes.
2020-05-03 13:23:11 +01:00
85c5585dec BREAKING CHANGE. Replaced Vector2, Vector3 and Vector4 with System.Numerics.
- Testing out a breaking change so we can use System.Numerics.
2020-05-02 15:13:57 +01:00
bbda84cafb Fixed error with IsWindowFullscreen.
- Changed IsWindowFullscreen return from void to bool.
2020-04-27 17:46:22 +01:00
55e6740539 Minor update to Raylib.cs.
- Added Camera2D constructor.
- Added missing Text functions.
2020-04-03 16:53:50 +01:00
be2acd3c9a Fixed DrawLineStrip issue from #44.
- Changed DrawLineStrip to take in a Vector2[] instead of ref Vector2 points.
2020-04-01 18:43:33 +01:00
fa3039fb11 Big commit. Starting the update to 3.0!!!
- Renamed the Bindings folder to Raylib-cs.
- Renamed namespace from Raylib to Raylib_cs.
- Updated functions to raylib 3.0.
- Documenting IntPtr types for reference.
- Separating modules by making the class and nativeLibName unique to the module.
- Added rlgl bindings.
2020-04-01 14:46:51 +01:00