mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 13:33:30 +02:00
Code style for floating point literal
This commit is contained in:
parent
e51f48d7ef
commit
0c3f55d6ef
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void PathPointer::updateVisuals(const PickResultPointer& pickResult) {
|
||||||
IntersectionType type = getPickedObjectType(pickResult);
|
IntersectionType type = getPickedObjectType(pickResult);
|
||||||
auto renderState = _renderStates.find(_currentRenderState);
|
auto renderState = _renderStates.find(_currentRenderState);
|
||||||
auto defaultRenderState = _defaultRenderStates.find(_currentRenderState);
|
auto defaultRenderState = _defaultRenderStates.find(_currentRenderState);
|
||||||
float parentScale = 1;
|
float parentScale = 1.0f;
|
||||||
if (_enabled && _scaleWithParent) {
|
if (_enabled && _scaleWithParent) {
|
||||||
glm::vec3 dimensions = DependencyManager::get<PickManager>()->getParentTransform(_pickUID).getScale();
|
glm::vec3 dimensions = DependencyManager::get<PickManager>()->getParentTransform(_pickUID).getScale();
|
||||||
parentScale = glm::max(glm::max(dimensions.x, dimensions.y), dimensions.z);
|
parentScale = glm::max(glm::max(dimensions.x, dimensions.y), dimensions.z);
|
||||||
|
|
Loading…
Reference in a new issue