mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
fix line rendering mode
This commit is contained in:
parent
ac513df103
commit
4d83c7f6df
1 changed files with 3 additions and 3 deletions
|
@ -279,11 +279,11 @@ void GizmoEntityRenderer::doRender(RenderArgs* args) {
|
||||||
// Ticks
|
// Ticks
|
||||||
if (hasTickMarks) {
|
if (hasTickMarks) {
|
||||||
if (tickProperties.x > 0.0f && tickProperties.y != 0.0f) {
|
if (tickProperties.x > 0.0f && tickProperties.y != 0.0f) {
|
||||||
geometryCache->renderVertices(batch, gpu::LINE_STRIP, _majorTicksGeometryID);
|
geometryCache->renderVertices(batch, gpu::LINES, _majorTicksGeometryID);
|
||||||
}
|
}
|
||||||
if (tickProperties.z > 0.0f && tickProperties.w != 0.0f) {
|
if (tickProperties.z > 0.0f && tickProperties.w != 0.0f) {
|
||||||
geometryCache->renderVertices(batch, gpu::LINE_STRIP, _minorTicksGeometryID);
|
geometryCache->renderVertices(batch, gpu::LINES, _minorTicksGeometryID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue