adding normals

This commit is contained in:
ericrius1 2015-06-22 16:15:29 -07:00
parent 9dc6846eba
commit 32eade9ead
3 changed files with 2 additions and 3 deletions

View file

@ -11,7 +11,7 @@
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
var LINE_DIMENSIONS = 1;
var LINE_DIMENSIONS = 5;
var LIFETIME = 6000;
var colorPalette = [{

View file

@ -39,7 +39,7 @@ void RenderableLineEntityItem::updateGeometry() {
void RenderableLineEntityItem::render(RenderArgs* args) {
PerformanceTimer perfTimer("RenderableLineEntityItem::render");
Q_ASSERT(getType() == EntityTypes::Line);
updateGeometry();
updateGeometry(); 
Q_ASSERT(args->_batch);
gpu::Batch& batch = *args->_batch;

View file

@ -97,7 +97,6 @@ bool QuadEntityItem::appendPoint(const glm::vec3& point) {
return false;
}
_points << point;
qDebug()<<"points: " << point;
_pointsChanged = true;
return true;
}