Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eicd
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
EIC
eicd
Commits
7299aba5
Commit
7299aba5
authored
3 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
Remove Vector2f(float aa, float bb) etc.
parent
02e96b2f
No related branches found
No related tags found
1 merge request
!83
Remove Vector2f(float aa, float bb) etc.
Pipeline
#29205
failed
3 years ago
Stage: config
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eic_data.yaml
+2
-2
2 additions, 2 deletions
eic_data.yaml
with
2 additions
and
2 deletions
eic_data.yaml
+
2
−
2
View file @
7299aba5
...
@@ -29,10 +29,10 @@ components:
...
@@ -29,10 +29,10 @@ components:
ExtraCode
:
ExtraCode
:
declaration
:
"
declaration
:
"
Vector2f()
:
a{0},b{0}
{}
\n
Vector2f()
:
a{0},b{0}
{}
\n
Vector2f(float
aa,
float
bb)
:
a{aa},b{bb}
{}
\n
Vector2f(double
aa,
double
bb)
\n
Vector2f(double
aa,
double
bb)
\n
:
a{static_cast<float>(aa)},b{static_cast<float>(bb)}
{}
\n
:
a{static_cast<float>(aa)},b{static_cast<float>(bb)}
{}
\n
Vector2f(const
float*
v)
:
a{v[0]},
b{v[1]}
{}
\n
Vector2f(const
float*
v)
:
a{v[0]},
b{v[1]}
{}
\n
Vector2f(const
double*
v)
:
a{static_cast<float>(v[0])},
b{static_cast<float>(v[1])}
{}
\n
bool
operator==(const
Vector2f&
v)
const
{
return
(a==v.a&&b==v.b)
;
}
\n
bool
operator==(const
Vector2f&
v)
const
{
return
(a==v.a&&b==v.b)
;
}
\n
float
operator[](unsigned
i)
const
{
return
*(
&a
+
i
)
;
}
\n
float
operator[](unsigned
i)
const
{
return
*(
&a
+
i
)
;
}
\n
//Vector2f(const
edm4hep::Vector2f&
v)
:
a{v.a},
b{v.b}
{}
\n
//Vector2f(const
edm4hep::Vector2f&
v)
:
a{v.a},
b{v.b}
{}
\n
...
@@ -51,10 +51,10 @@ components:
...
@@ -51,10 +51,10 @@ components:
ExtraCode
:
ExtraCode
:
declaration
:
"
declaration
:
"
Vector3f()
:
x{0},y{0},z{0}
{}
\n
Vector3f()
:
x{0},y{0},z{0}
{}
\n
Vector3f(float
xx,
float
yy,
float
zz)
:
x{xx},y{yy},z{zz}
{}
\n
Vector3f(double
xx,
double
yy,
double
zz)
\n
Vector3f(double
xx,
double
yy,
double
zz)
\n
:
x{static_cast<float>(xx)},y{static_cast<float>(yy)},z{static_cast<float>(zz)}
{}
\n
:
x{static_cast<float>(xx)},y{static_cast<float>(yy)},z{static_cast<float>(zz)}
{}
\n
Vector3f(const
float*
v)
:
x{v[0]},y{v[1]},z{v[2]}
{}
\n
Vector3f(const
float*
v)
:
x{v[0]},y{v[1]},z{v[2]}
{}
\n
Vector3f(const
double*
v)
:
x{static_cast<float>(v[0])},y{static_cast<float>(v[1])},z{static_cast<float>(v[2])}
{}
\n
bool
operator==(const
Vector3f&
v)
const
{
return
(x==v.x&&y==v.y&&z==v.z)
;
}
\n
bool
operator==(const
Vector3f&
v)
const
{
return
(x==v.x&&y==v.y&&z==v.z)
;
}
\n
float
operator[](unsigned
i)
const
{
return
*(
&x
+
i
)
;
}
\n
float
operator[](unsigned
i)
const
{
return
*(
&x
+
i
)
;
}
\n
Vector3f(const
edm4hep::Vector3f&
v)
:
x{v.x},
y{v.y},
z{v.z}
{}
Vector3f(const
edm4hep::Vector3f&
v)
:
x{v.x},
y{v.y},
z{v.z}
{}
...
...
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