Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coal
coal
Commits
574a3a57
Commit
574a3a57
authored
8 years ago
by
Joseph Mirabel
Committed by
Joseph Mirabel
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Don't align underlying vector in Quaternion3f
parent
ca2f9e78
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/hpp/fcl/math/transform.h
+4
-4
4 additions, 4 deletions
include/hpp/fcl/math/transform.h
with
4 additions
and
4 deletions
include/hpp/fcl/math/transform.h
+
4
−
4
View file @
574a3a57
...
...
@@ -49,7 +49,7 @@ namespace fcl {
template
<
typename
RhsType
>
struct
quaternion_transform_return_type_traits
{
typedef
Eigen
::
Matrix
<
FCL_REAL
,
4
,
1
>
Vec4f
;
typedef
Eigen
::
Matrix
<
FCL_REAL
,
4
,
1
,
Eigen
::
DontAlign
>
Vec4f
;
typedef
typename
Vec4f
::
FixedSegmentReturnType
<
3
>::
Type
XYZ_t
;
typedef
typename
Vec4f
::
ConstFixedSegmentReturnType
<
3
>::
Type
XYZConst_t
;
...
...
@@ -106,7 +106,7 @@ namespace fcl
class
Quaternion3f
{
private:
typedef
Eigen
::
Matrix
<
FCL_REAL
,
4
,
1
>
Vec4f
;
typedef
Eigen
::
Matrix
<
FCL_REAL
,
4
,
1
,
Eigen
::
DontAlign
>
Vec4f
;
typedef
typename
Vec4f
::
FixedSegmentReturnType
<
3
>::
Type
XYZ_t
;
typedef
typename
Vec4f
::
ConstFixedSegmentReturnType
<
3
>::
Type
XYZConst_t
;
...
...
@@ -273,8 +273,8 @@ private:
return
data
[
i
];
}
inline
Vec4f
::
FixedSegmentReturnType
<
3
>::
Type
vec
()
{
return
data
.
segment
<
3
>
(
X
);
}
inline
Vec4f
::
ConstFixedSegmentReturnType
<
3
>::
Type
vec
()
const
{
return
data
.
segment
<
3
>
(
X
);
}
inline
XYZ_t
vec
()
{
return
data
.
segment
<
3
>
(
X
);
}
inline
XYZConst_t
vec
()
const
{
return
data
.
segment
<
3
>
(
X
);
}
Vec4f
data
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment