Skip to content

Commit

Permalink
Update VBO class.
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsy committed Mar 10, 2016
1 parent 70945d9 commit ffc2f01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sources/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/spica_dirs.h.in
${CMAKE_CURRENT_LIST_DIR}/interaction.cc
${CMAKE_CURRENT_LIST_DIR}/interpolation.cc
${CMAKE_CURRENT_LIST_DIR}/ray.cc
${CMAKE_CURRENT_LIST_DIR}/../viewer/vbo.cc
PARENT_SCOPE)

set(HEADERS ${HEADERS}
Expand Down Expand Up @@ -45,4 +46,5 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/spica_dirs.h.in
${CMAKE_CURRENT_LIST_DIR}/random_queue.h
${CMAKE_CURRENT_LIST_DIR}/hash_grid.h
${CMAKE_CURRENT_LIST_DIR}/hash_grid_detail.h
${CMAKE_CURRENT_LIST_DIR}/../viewer/vbo.h
PARENT_SCOPE)
2 changes: 2 additions & 0 deletions sources/viewer/vbo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <typeinfo>
#include <string>

#include "../shape/triangle.h"

namespace spica {

VBO::VBO()
Expand Down
3 changes: 2 additions & 1 deletion sources/viewer/vbo.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#include <vector>
#include <type_traits>

#include "../shape/spica_shape.h"
#include "../core/common.h"
#include "../core/forward_decl.h"

extern void* enabler;

Expand Down

0 comments on commit ffc2f01

Please sign in to comment.