mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:37:49 +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,10 +279,10 @@ 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