summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-08-16 21:34:39 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-08-16 21:34:39 +0000
commit405c5affa1fe73537cc8f61889b211d3ca808092 (patch)
treee2aed900c52d74fe1a9d29d90249e514b92be34f /legacy
parentab877d4d234d49c1e927e52764e20c67af2af8b4 (diff)
EPhysics: fix constraint angular limit type
SVN revision: 75327
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h4
-rw-r--r--legacy/ephysics/src/lib/ephysics_constraints.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index 7fca1f7f78..d4fc80cbec 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -2365,7 +2365,7 @@ EAPI void ephysics_constraint_slider_linear_limit_get(const EPhysics_Constraint
2365 * @see ephysics_constraint_slider_angular_limit_get() 2365 * @see ephysics_constraint_slider_angular_limit_get()
2366 * @ingroup EPhysics_Constraint 2366 * @ingroup EPhysics_Constraint
2367 */ 2367 */
2368EAPI void ephysics_constraint_slider_angular_limit_set(EPhysics_Constraint *constraint, Evas_Coord counter_clock_z, Evas_Coord clock_wise_z); 2368EAPI void ephysics_constraint_slider_angular_limit_set(EPhysics_Constraint *constraint, double counter_clock_z, double clock_wise_z);
2369 2369
2370/** 2370/**
2371 * @brief 2371 * @brief
@@ -2378,7 +2378,7 @@ EAPI void ephysics_constraint_slider_angular_limit_set(EPhysics_Constraint *cons
2378 * @see ephysics_constraint_slider_angular_limit_set() 2378 * @see ephysics_constraint_slider_angular_limit_set()
2379 * @ingroup EPhysics_Constraint 2379 * @ingroup EPhysics_Constraint
2380 */ 2380 */
2381EAPI void ephysics_constraint_slider_angular_limit_get(const EPhysics_Constraint *constraint, Evas_Coord *counter_clock_z, Evas_Coord *clock_wise_z); 2381EAPI void ephysics_constraint_slider_angular_limit_get(const EPhysics_Constraint *constraint, double *counter_clock_z, double *clock_wise_z);
2382 2382
2383/** 2383/**
2384 * @brief 2384 * @brief
diff --git a/legacy/ephysics/src/lib/ephysics_constraints.cpp b/legacy/ephysics/src/lib/ephysics_constraints.cpp
index 4c803769d8..86a2e2d01c 100644
--- a/legacy/ephysics/src/lib/ephysics_constraints.cpp
+++ b/legacy/ephysics/src/lib/ephysics_constraints.cpp
@@ -124,7 +124,7 @@ ephysics_constraint_slider_linear_limit_get(const EPhysics_Constraint *constrain
124} 124}
125 125
126EAPI void 126EAPI void
127ephysics_constraint_slider_angular_limit_set(EPhysics_Constraint *constraint, Evas_Coord counter_clock_z, Evas_Coord clock_wise_z) 127ephysics_constraint_slider_angular_limit_set(EPhysics_Constraint *constraint, double counter_clock_z, double clock_wise_z)
128{ 128{
129 btGeneric6DofConstraint *slider_constraint; 129 btGeneric6DofConstraint *slider_constraint;
130 130
@@ -148,7 +148,7 @@ ephysics_constraint_slider_angular_limit_set(EPhysics_Constraint *constraint, Ev
148} 148}
149 149
150EAPI void 150EAPI void
151ephysics_constraint_slider_angular_limit_get(const EPhysics_Constraint *constraint, Evas_Coord *counter_clock_z, Evas_Coord *clock_wise_z) 151ephysics_constraint_slider_angular_limit_get(const EPhysics_Constraint *constraint, double *counter_clock_z, double *clock_wise_z)
152{ 152{
153 btGeneric6DofConstraint *slider_constraint; 153 btGeneric6DofConstraint *slider_constraint;
154 btVector3 angular_limit; 154 btVector3 angular_limit;