|
cesium-native 0.62.0
|
Converts from an integer type to a float. More...
#include <CesiumGltf/MetadataConversions.h>
Static Public Member Functions | |
| static std::optional< float > | convert (TFrom from) |
| Converts an integer to a float. The value may lose precision during conversion. | |
| static std::optional< float > | convert (TFrom) |
Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt. | |
Converts from an integer type to a float.
Definition at line 368 of file MetadataConversions.h.
|
inlinestatic |
Converts an integer to a float. The value may lose precision during conversion.
| from | The integer value to be converted. |
Definition at line 378 of file MetadataConversions.h.
|
inlinestatic |
Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt.
Definition at line 26 of file MetadataConversions.h.