TransformType.ixx File
Defines transform inheritance flags for scene graph hierarchies. More...
Included Headers
#include <cstdint>
Namespaces Index
| namespace | helios |
| namespace | math |
|
Mathematical operations and types. More... | |
Description
Defines transform inheritance flags for scene graph hierarchies.
File Listing
The file content with the documentation metadata removed is:
12export namespace helios::math {
15 * @brief Bitmask enum controlling which transform components a child node inherits from its parent.
23 * - A camera that follows an object's position but maintains its own orientation (`TransformType::Translation`)
41 enum class TransformType : uint8_t {
48 Translation = 1 << 0,
72 All = Translation | Rotation | Scale
83 inline TransformType operator|(TransformType a, TransformType b) {
84 return static_cast<TransformType>(static_cast<uint8_t>(a) | static_cast<uint8_t>(b));
107 inline bool transformTypeMatch(TransformType mask, TransformType flag) {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.