correction

This commit is contained in:
luiscuenca 2017-11-10 12:24:19 -07:00
parent bf576e63fe
commit d53a29b958
2 changed files with 3 additions and 4 deletions

View file

@ -16,11 +16,9 @@
#include "AbstractViewStateInterface.h"
QString const Line3DOverlay::TYPE = "line3d";
static const float DEFAULT_LINE_WIDTH = 0.02f;
Line3DOverlay::Line3DOverlay() :
_geometryCacheID(DependencyManager::get<GeometryCache>()->allocateID()),
_lineWidth(DEFAULT_LINE_WIDTH)
_geometryCacheID(DependencyManager::get<GeometryCache>()->allocateID())
{
}

View file

@ -70,7 +70,8 @@ private:
glm::vec3 _direction; // in parent frame
float _length { 1.0 }; // in parent frame
float _lineWidth { 0.0 };
const float DEFAULT_LINE_WIDTH = 0.02f;
float _lineWidth { DEFAULT_LINE_WIDTH };
float _glow { 0.0 };
int _geometryCacheID;
};