History

fix up grab.js to use line entity

Seth Alves committed 11 years ago

Commit 7a85bfa1 parent 38caed02 files · +17 −21Browse files

Showing the changes to libraries/render-utils/src/DeferredLightingEffect.cpp (1 of 2 files). Show all

Unified · Split

libraries/render-utils/src/DeferredLightingEffect.cpp+0−6
@@ -131,12 +131,6 @@ void DeferredLightingEffect::renderWireCube(float size, const glm::vec4& color) · 130 unmodified lines
131 131
132void DeferredLightingEffect::renderLine(const glm::vec3& p1, const glm::vec3& p2, 132void DeferredLightingEffect::renderLine(const glm::vec3& p1, const glm::vec3& p2,
133 const glm::vec4& color1, const glm::vec4& color2) {133 const glm::vec4& color1, const glm::vec4& color2) {
134
135 qDebug() << "LINE -- "
136 << p1[0] << p1[1] << p1[2]
137 << ","
138 << p2[0] << p2[1] << p2[2];
139
140 bindSimpleProgram();134 bindSimpleProgram();
141 DependencyManager::get<GeometryCache>()->renderLine(p1, p2, color1, color2);135 DependencyManager::get<GeometryCache>()->renderLine(p1, p2, color1, color2);
142 releaseSimpleProgram();136 releaseSimpleProgram();