mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
correction
This commit is contained in:
parent
bf576e63fe
commit
d53a29b958
2 changed files with 3 additions and 4 deletions
|
@ -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())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue