summaryrefslogtreecommitdiff
path: root/servers/physics_server_2d.h
diff options
context:
space:
mode:
authorRicardo Buring <ricardo.buring@gmail.com>2022-09-04 10:32:21 +0200
committerRicardo Buring <ricardo.buring@gmail.com>2022-09-04 12:04:08 +0200
commitd22ff48b3d34c805a6328fa5b615f1ac586d3090 (patch)
tree81d193674a7ab095f609ca9339ae10a076945551 /servers/physics_server_2d.h
parentecb89bfbd5b8d4903e2e0b480c2fff934a14051e (diff)
Create GDExtension classes for PhysicsServer2D
This allows a 2D physics server created entirely from GDExtension. Based on the structure of PhysicsServer3DExtension by reduz.
Diffstat (limited to 'servers/physics_server_2d.h')
-rw-r--r--servers/physics_server_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_server_2d.h b/servers/physics_server_2d.h
index 071ff5ffe9..7ca8ad6a3b 100644
--- a/servers/physics_server_2d.h
+++ b/servers/physics_server_2d.h
@@ -820,6 +820,7 @@ VARIANT_ENUM_CAST(PhysicsServer2D::BodyState);
VARIANT_ENUM_CAST(PhysicsServer2D::CCDMode);
VARIANT_ENUM_CAST(PhysicsServer2D::JointParam);
VARIANT_ENUM_CAST(PhysicsServer2D::JointType);
+VARIANT_ENUM_CAST(PhysicsServer2D::PinJointParam);
VARIANT_ENUM_CAST(PhysicsServer2D::DampedSpringParam);
VARIANT_ENUM_CAST(PhysicsServer2D::AreaBodyStatus);
VARIANT_ENUM_CAST(PhysicsServer2D::ProcessInfo);