mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
fix warning about truncation from double to float
This commit is contained in:
parent
b537d3b1ee
commit
5fba4cb68c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "EntityTreeElement.h"
|
||||
|
||||
const float SQRT_TWO_OVER_TWO = 0.7071067811865;
|
||||
const float SQRT_TWO_OVER_TWO = 0.7071067811865f;
|
||||
const float DEFAULT_VIEW_RADIUS = 10.0f;
|
||||
|
||||
// ConicalView is an approximation of a ViewFrustum for fast calculation of sort priority.
|
||||
|
|
Loading…
Reference in a new issue