Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@
*.exe
*.out
*.app

#execlude cmake
build
.vscode
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cmake_minimum_required(VERSION 3.0.0)
project(iterative_closest_point VERSION 0.1.0)

add_executable( iterative_closest_point
src/main.cpp
src/ICP.cpp
src/KdTree.cpp
src/svd.cpp )

1 change: 1 addition & 0 deletions src/KdTree.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "KdTree.h"
#include <math.h>

gs::Point::Point()
{
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ void icpExample()
printf("Alignment Error: %0.5f \n", alignmentError);
}

void main()
int main()
{
icpExample();
system("pause");
return 0;
}