From d2b8fc79e637cee3c3d2b2a4a7b04e1c7687c2ed Mon Sep 17 00:00:00 2001 From: Lucile Remigy <lucile.remigy@epitech.eu> Date: Fri, 4 Oct 2019 10:05:02 +0200 Subject: [PATCH] Modif geometric shape --- include/hpp/fcl/shape/geometric_shapes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/hpp/fcl/shape/geometric_shapes.h b/include/hpp/fcl/shape/geometric_shapes.h index 776183ec..2081c195 100644 --- a/include/hpp/fcl/shape/geometric_shapes.h +++ b/include/hpp/fcl/shape/geometric_shapes.h @@ -149,7 +149,7 @@ class Capsule : public ShapeBase public: Capsule(FCL_REAL radius_, FCL_REAL lz_) : ShapeBase(), radius(radius_), lz(lz_) { - lz = lz_ + lz = lz_; HalfLength = lz_/2; } @@ -194,7 +194,7 @@ class Cone : public ShapeBase public: Cone(FCL_REAL radius_, FCL_REAL lz_) : ShapeBase(), radius(radius_), lz(lz_) { - lz = lz_ + lz = lz_; HalfLength = lz_/2; } @@ -241,7 +241,7 @@ class Cylinder : public ShapeBase public: Cylinder(FCL_REAL radius_, FCL_REAL lz_) : ShapeBase(), radius(radius_), lz(lz_) { - lz = lz_ + lz = lz_; HalfLength = lz_/2; } -- GitLab