diff options
author | Andrea Catania <info@andreacatania.com> | 2018-11-27 07:11:28 +0100 |
---|---|---|
committer | Andrea Catania <info@andreacatania.com> | 2018-11-27 07:11:28 +0100 |
commit | a395d809a5bc40ff4aef607025db40c84abfac83 (patch) | |
tree | 4bca2f469a38af4d6015c90308e58c4cbd3af040 /modules/bullet/generic_6dof_joint_bullet.h | |
parent | 631cf676c34e8add973236112251aeb622807e4c (diff) |
Added function to control 6DOF precision
Diffstat (limited to 'modules/bullet/generic_6dof_joint_bullet.h')
-rw-r--r-- | modules/bullet/generic_6dof_joint_bullet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/bullet/generic_6dof_joint_bullet.h b/modules/bullet/generic_6dof_joint_bullet.h index 176127ed6c..848c3a10cd 100644 --- a/modules/bullet/generic_6dof_joint_bullet.h +++ b/modules/bullet/generic_6dof_joint_bullet.h @@ -68,6 +68,9 @@ public: void set_flag(Vector3::Axis p_axis, PhysicsServer::G6DOFJointAxisFlag p_flag, bool p_value); bool get_flag(Vector3::Axis p_axis, PhysicsServer::G6DOFJointAxisFlag p_flag) const; + + void set_precision(int p_precision); + int get_precision() const; }; #endif |