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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user