Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenFlipper
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
OpenFlipper-Free
OpenFlipper
Merge requests
!128
ACG Matrix3x3T: add getRow() and getCol() convenience getters
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ACG Matrix3x3T: add getRow() and getCol() convenience getters
acg-mat3x3-getters
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Martin Heistermann
requested to merge
acg-mat3x3-getters
into
master
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
9cf80001
1 commit,
6 years ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
libs_required/ACG/Math/Matrix3x3T.hh
+
7
−
0
Options
@@ -95,6 +95,13 @@ class Matrix3x3T {
return
values_
[
i
];
}
Vec3
getRow
(
uint_fast8_t
r
)
const
{
return
Vec3
((
*
this
)(
r
,
0
),
(
*
this
)(
r
,
1
),
(
*
this
)(
r
,
2
));
}
Vec3
getCol
(
uint_fast8_t
c
)
const
{
return
Vec3
((
*
this
)(
0
,
c
),
(
*
this
)(
1
,
c
),
(
*
this
)(
2
,
c
));
}
constexpr
Matrix3x3T
operator
*
(
const
Matrix3x3T
&
rhs
)
const
{
return
Matrix3x3T
{{
(
*
this
)(
0
,
0
)
*
rhs
(
0
,
0
)
+
(
*
this
)(
0
,
1
)
*
rhs
(
1
,
0
)
+
(
*
this
)(
0
,
2
)
*
rhs
(
2
,
0
),
Loading