Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
d2b8fc79
Commit
d2b8fc79
authored
Oct 04, 2019
by
Lucile Remigy
Browse files
Modif geometric shape
parent
30cdb274
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/fcl/shape/geometric_shapes.h
View file @
d2b8fc79
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment