Skip to content

Commit

Permalink
draw line in camera space
Browse files Browse the repository at this point in the history
  • Loading branch information
mprat committed May 6, 2013
1 parent c67c965 commit eb7dfc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file not shown.
4 changes: 4 additions & 0 deletions Rephoto/PointCloudProcessing.cpp
Expand Up @@ -197,6 +197,10 @@ void PointCloudProcessing::arrows(){
std::cout<<"translation to desired pose"<<std::endl;
translation_to_desired.print();

//set identity MVP
Matrix4x4 mvp = Matrix4x4();
glUniformMatrix4fv(mvp_uniform, 1, GL_FALSE, (float *)mvp);

glUniform4f(color_uniform, 0, 0, 1.0, 1.0);

const GLfloat line[] =
Expand Down

0 comments on commit eb7dfc5

Please sign in to comment.