Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Satoru KUMA
MPEG129-m52280
Commits
2f0bcac0
Commit
2f0bcac0
authored
Nov 17, 2019
by
David Flynn
Browse files
maths: don't emit newline in formatted output operators
parent
e36bbaee
Changes
1
Show whitespace changes
Inline
Side-by-side
tmc3/PCCMath.h
View file @
2f0bcac0
...
@@ -326,7 +326,7 @@ public:
...
@@ -326,7 +326,7 @@ public:
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
Vec3
&
vec
)
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
Vec3
&
vec
)
{
{
os
<<
vec
[
0
]
<<
" "
<<
vec
[
1
]
<<
" "
<<
vec
[
2
]
<<
std
::
endl
;
os
<<
vec
[
0
]
<<
" "
<<
vec
[
1
]
<<
" "
<<
vec
[
2
];
return
os
;
return
os
;
}
}
...
@@ -412,7 +412,7 @@ struct Box3 {
...
@@ -412,7 +412,7 @@ struct Box3 {
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
Box3
&
box
)
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
Box3
&
box
)
{
{
os
<<
box
.
min
[
0
]
<<
" "
<<
box
.
min
[
1
]
<<
" "
<<
box
.
min
[
2
]
<<
" "
os
<<
box
.
min
[
0
]
<<
" "
<<
box
.
min
[
1
]
<<
" "
<<
box
.
min
[
2
]
<<
" "
<<
box
.
max
[
0
]
<<
" "
<<
box
.
max
[
1
]
<<
" "
<<
box
.
max
[
2
]
<<
std
::
endl
;
<<
box
.
max
[
0
]
<<
" "
<<
box
.
max
[
1
]
<<
" "
<<
box
.
max
[
2
];
return
os
;
return
os
;
}
}
friend
std
::
istream
&
operator
>>
(
std
::
istream
&
is
,
Box3
&
box
)
friend
std
::
istream
&
operator
>>
(
std
::
istream
&
is
,
Box3
&
box
)
...
...
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