Watch
2
0
Fork
You've already forked raylib-cs
0
Commit graph raylib-cs/Raylib-cs
Author SHA1 Message Date
ChrisDill
3ac0a24d78 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
ChrisDill
c7c0c06a63 Added the System.Numerics.Vectors package so we can build without specifying netcoreapp3.1. 2020-05-02 15:17:49 +01:00
ChrisDill
d401a641ce 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
271142c040 Fix incorrect native library path
Added support for x86 NuGet package
2020-05-02 17:48:40 +10:00
4bb6542f5f Updated README.md
NuGet package and easier installation
Added `runtimes/{tfm}/native` folder to make it clearer where to put native libraries
2020-05-02 17:03:00 +10:00
c3cb15f633 Updated Nuget Package Properties
Includes adding logo to package
2020-05-02 05:19:50 +10:00
bd58c758f5 Updated Build platforms
For upcoming NuGet support
2020-05-02 04:27:16 +10:00
ChrisDill
f1f405e633 Moving Physac and Raygui into their own libraries and marking them as experimental.
- Both bindings have causes confusion and issues in project setup. Moving them into separate libraries should make things clearer and easier to maintain.
2020-04-28 20:53:45 +01:00
ChrisDill
57c52a3a61 Fixed error with IsWindowFullscreen.
- Changed IsWindowFullscreen return from void to bool.
2020-04-27 17:46:22 +01:00
ChrisDill
28a58168da Changed Raylib-cs.csproj to only target netstandard2.0.
- Changed Raylib-cs.proj to use just one target framework.
- Removed targets net47 and netcoreapp3.1 from Raylib-cs.csproj.
- Removed netcoreapp3.1 from dotnetcore.yml workflow.
2020-04-07 20:41:22 +01:00
ChrisDill
24497bc467 Minor update to Raylib.cs.
- Added Camera2D constructor.
- Added missing Text functions.
2020-04-03 16:53:50 +01:00
ChrisDill
b3a848a1cd 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
ChrisDill
5834f6e1d6 Added Raylib-cs.csproj.
- Testing multi-target options. Hopefully won't be needed with .NET 5.
Some issues getting multi-targeting to work well with OmniSharp in other projects so I may change this.
2020-04-01 14:50:00 +01:00
ChrisDill
06b5c218b1 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
ChrisDill
1292292318 Project tidying
- Project now uses AnyCPU.
- Fixed assembly info and renamed Raylib-cs project to Generator.
- Removed resources folder and dlls.
- Improving current manual bindings.
2018-08-04 21:04:02 +01:00
ChrisDill
86ab319ab9 Separated example from generator
- Renamed Raylib-example to ExampleApplication.
- Example removed from Raylib-cs. It now only contains the generator. Use the current bindings in ExampleApplication/Raylib-cs.
2018-07-31 13:33:19 +01:00
ChrisDill
fdb3541f44 Added raylib-example project
- Separate project to test raylib on its own.
-
2018-07-28 09:26:59 +01:00
ChrisDill
bfc2b8077e Added console menu and improved raylib example
- Added comments to basic raylib example.
- Added console menu to choose between binding generation, example and exit.
2018-07-26 16:01:16 +01:00
ChrisDill
91a2c0132c Improving cppsharp generation
- Figured out how to convert some of raylibs defines into enums.
- KEY_ENTER will now change to Key.KEY_ENTER.
2018-07-26 15:50:28 +01:00
ChrisDill
56bf5979d6 Renamed raylib.cs to raylib-manual.cs
- Making it clear this is the testing file for manually binding.
- Trying to move the project to use cppsharp generated bindings instead.
2018-07-26 15:46:10 +01:00
ChrisDill
36fa09308a Added raylib.dll
- Built as 64 bit using the visual studio 2017 project bundled with raylib.
- Copy the dll to the same directory as the executable is in.
2018-07-26 15:44:36 +01:00
ChrisDill
d20a719c92 Testing the idea of generating the bindings
- Added cppsharp to see if it will work with raylib.
2018-07-23 20:27:07 +01:00
ChrisDill
172e0ecbb7 Added vs project
- Initial version of bindings(WIP)
2018-07-13 14:55:07 +01:00