physics.box2d.object: Add 'Z' component to 'Site' to allow small variations in 'Z' to prevent opengl from flipping visuals constantly due to all 'Z's being '0.0'.

This commit is contained in:
Rod Kay
2023-12-09 14:58:37 +11:00
parent 4eb4eecb55
commit ac397cc5db
3 changed files with 7 additions and 3 deletions

View File

@@ -61,6 +61,7 @@ private
user_Data : access lace.Any.limited_item'Class;
Dynamics : physics.Object.safe_Dynamics;
Site_z : Real := 0.0;
end record;