cesium-native 0.47.0
|
Converts from a boolean to a matN. More...
#include <CesiumGltf/MetadataConversions.h>
Static Public Member Functions | |
static std::optional< TTo > | convert (bool from) |
Converts a boolean to a matN. The boolean is converted to an integer value of 1 for true or 0 for false. The returned matrix is initialized with this value in all of its components. | |
Converts from a boolean to a matN.
Definition at line 750 of file MetadataConversions.h.
|
inlinestatic |
Converts a boolean to a matN. The boolean is converted to an integer value of 1 for true or 0 for false. The returned matrix is initialized with this value in all of its components.
from | The boolean to be converted. |
Definition at line 761 of file MetadataConversions.h.