Skip to main content

TransformType.ixx File

Defines transform inheritance flags for scene graph hierarchies. More...

Included Headers

#include <cstdint>

Namespaces Index

namespacehelios
namespacemath

Description

Defines transform inheritance flags for scene graph hierarchies.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <cstdint>
8
9export module helios.math.TransformType;
10
11
12export namespace helios::math {
13
41 enum class TransformType : uint8_t {
48 Translation = 1 << 0,
49
56 Rotation = 1 << 1,
57
64 Scale = 1 << 2,
65
73 };
74
84 return static_cast<TransformType>(static_cast<uint8_t>(a) | static_cast<uint8_t>(b));
85 }
86
87
108 return (static_cast<uint8_t>(mask) & static_cast<uint8_t>(flag)) != 0;
109 }
110}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.