Bindings cleanup
- Replaced tabs with 4 spaces - Added comments to Raylib.cs
This commit is contained in:
parent
ec4f2f0472
commit
167a41f20d
5 changed files with 818 additions and 738 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue