Transform.ixx File
Represents a 3D transformation consisting of translation, rotation and scale. More...
Included Headers
#include <helios.math.transform>
#include <helios.math.types>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | core |
| namespace | spatial |
Classes Index
| class | Transform |
|
Represents a 3D transformation consisting of translation, rotation and scale. More... | |
Description
Represents a 3D transformation consisting of translation, rotation and scale.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::engine::core::spatial {
75 ~Transform() = default;
91 helios::math::vec3f scale,
92 helios::math::vec3f translation
93 ) noexcept :
94 rotation_(rotation),
95 scale_(scale),
96 translation_(translation),
106 void setRotation(const math::mat4f& rotation) noexcept {
107 rotation_ = rotation;
117 void setTranslation(const math::vec3f& translation) noexcept {
118 translation_ = translation;
129 scale_ = scale;
147 [[nodiscard]] helios::math::vec3f translation() const noexcept {
179 [[nodiscard]] bool needsUpdate() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.