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

13 Commits

Author SHA1 Message Date
Spec-Chum
1e3d0252f8 Convert all Math calls to MathF to avoid conversions 2020-12-23 15:58:08 +00:00
ddadcf01f7 Remove unused string management functions
- Removing common string functions in Raylib that can easily be replaced with built in string functions from C#. Keeping a few
such as TextFormat for now as I am unsure if they will be useful later.
2020-11-06 11:49:16 +00:00
65b1a608eb Remove SubText extension method 2020-11-06 11:34:09 +00:00
be43e6c76c Fix bug with incorrect DrawTriangleStrip parameter
- It should take Vector2[] instead of a ref to Vector2 since it operates on multiple points.
2020-11-04 21:22:20 +00:00
b31b484564 Removed duplicate license comments from binding code. 2020-09-18 23:45:09 +01:00
da3df6903a Fixed typo and updated enum usage in structs.
- Fixed typo in README.md.
- Changed Image format to use the PixelFormat enum.
- Changed Texture2D format to use the PixelFormat enum.
- Changed NPatchInfo type to use the NPatchType enum.
2020-08-08 09:54:28 +01:00
955ea5b886 Added Flags enum attribute to ConfigFlag and GestureType. 2020-05-03 15:27:02 +01:00
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