cesium-native
0.41.0
|
Converts from a boolean to a float. More...
#include <CesiumGltf/MetadataConversions.h>
Static Public Member Functions | |
static std::optional< float > | convert (bool from) |
Converts a boolean to a float. This returns 1.0f for true, 0.0f for false. More... | |
Converts from a boolean to a float.
Definition at line 355 of file MetadataConversions.h.
|
inlinestatic |
Converts a boolean to a float. This returns 1.0f for true, 0.0f for false.
from | The boolean value to be converted. |
Definition at line 362 of file MetadataConversions.h.