Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
dd2a6468
Commit
dd2a6468
authored
Jan 21, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made code more consistent.
parent
3a4f1c0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
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)
const
unsigned
long
box_size
=
static_cast
<
unsigned
long
>
(
sp
[
i
].
p
.
scale
*
20
);
const
double
ang
=
sp
[
i
].
angle
;
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
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