Syntriax
b14d10db0c
TIL, records are not value types and are actually just reference types. So I was pretty much allocating from heap every time I used any of my data types (Like Vector2D). Needless to say, they are all now readonly structs as I originally intended them to be. |
||
---|---|---|
.. | ||
Abstract | ||
Primitives | ||
Collider2DBehaviourBase.cs | ||
Collider2DCircleBehaviour.cs | ||
Collider2DShapeBehaviour.cs | ||
CollisionDetectionInformation.cs | ||
CollisionDetector.cs | ||
Engine.Physics2D.csproj | ||
ICollisionDetector.cs | ||
Physics2D.cs | ||
PhysicsEngine2D.cs | ||
PhysicsMaterial2D.cs | ||
PhysicsMaterial2DDefault.cs | ||
RigidBody2D.cs |