mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +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"
|
#include "AbstractViewStateInterface.h"
|
||||||
|
|
||||||
QString const Line3DOverlay::TYPE = "line3d";
|
QString const Line3DOverlay::TYPE = "line3d";
|
||||||
static const float DEFAULT_LINE_WIDTH = 0.02f;
|
|
||||||
|
|
||||||
Line3DOverlay::Line3DOverlay() :
|
Line3DOverlay::Line3DOverlay() :
|
||||||
_geometryCacheID(DependencyManager::get<GeometryCache>()->allocateID()),
|
_geometryCacheID(DependencyManager::get<GeometryCache>()->allocateID())
|
||||||
_lineWidth(DEFAULT_LINE_WIDTH)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,8 @@ private:
|
||||||
glm::vec3 _direction; // in parent frame
|
glm::vec3 _direction; // in parent frame
|
||||||
float _length { 1.0 }; // 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 };
|
float _glow { 0.0 };
|
||||||
int _geometryCacheID;
|
int _geometryCacheID;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue