2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-07-10 19:50:28 -04:00

Bindings cleanup

- Replaced tabs with 4 spaces
- Added comments to Raylib.cs
This commit is contained in:
2018-10-23 11:57:13 +01:00
parent ec4f2f0472
commit 167a41f20d
5 changed files with 898 additions and 818 deletions

View File

@ -39,7 +39,7 @@ namespace Raylib
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = Raylib.PHYSAC_MAX_VERTICES)]
public Vector2[] positions; // Polygon vertex positions vectors
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = Raylib.PHYSAC_MAX_VERTICES)]
public Vector2[] normals; // Polygon vertex normals vectors
}
@ -86,7 +86,7 @@ namespace Raylib
public PhysicsBodyData bodyB; // Manifold second physics body reference
public float penetration; // Depth of penetration from collision
public Vector2 normal; // Normal direction vector from 'a' to 'b'
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 2)]
public Vector2[] contacts; // Points of contact during collision