Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
dd2a6468
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "6382663dc8e0fe92ceb03386ffeea1ca336730c8"
Commit
dd2a6468
authored
Jan 21, 2012
by
Davis King
Browse files
Made code more consistent.
parent
3a4f1c0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/surf_ex.cpp
examples/surf_ex.cpp
+1
-1
No files found.
examples/surf_ex.cpp
View file @
dd2a6468
...
@@ -67,7 +67,7 @@ int main(int argc, char** argv)
...
@@ -67,7 +67,7 @@ int main(int argc, char** argv)
const
unsigned
long
box_size
=
static_cast
<
unsigned
long
>
(
sp
[
i
].
p
.
scale
*
20
);
const
unsigned
long
box_size
=
static_cast
<
unsigned
long
>
(
sp
[
i
].
p
.
scale
*
20
);
const
double
ang
=
sp
[
i
].
angle
;
const
double
ang
=
sp
[
i
].
angle
;
const
point
center
(
sp
[
i
].
p
.
center
);
const
point
center
(
sp
[
i
].
p
.
center
);
rectangle
rect
=
centered_rect
(
center
,
box_size
,
box_size
);
const
rectangle
rect
=
centered_rect
(
center
,
box_size
,
box_size
);
// Rotate the 4 corners of the rectangle
// Rotate the 4 corners of the rectangle
const
point
p1
=
rotate_point
(
center
,
rect
.
tl_corner
(),
ang
);
const
point
p1
=
rotate_point
(
center
,
rect
.
tl_corner
(),
ang
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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