vr paint
This commit is contained in:
@@ -261,7 +261,6 @@ void App::vr_draw(const glm::mat4& proj, const glm::mat4& camera, const glm::mat
|
||||
}
|
||||
|
||||
// draw the motion controller sphere
|
||||
/*
|
||||
{
|
||||
auto mvp = proj * camera * glm::translate(glm::normalize(vr_controller_pos));
|
||||
ShaderManager::use(kShader::Color);
|
||||
@@ -269,7 +268,6 @@ void App::vr_draw(const glm::mat4& proj, const glm::mat4& camera, const glm::mat
|
||||
ShaderManager::u_mat4(kShaderUniform::MVP, mvp * glm::scale(glm::vec3(.025)));
|
||||
sphere.draw_fill();
|
||||
}
|
||||
*/
|
||||
|
||||
// draw the motion controller brush
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user