AABBComponent.ixx File
Included Headers
#include <cassert>
#include <helios.math>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | core |
| namespace | components |
| namespace | math |
| namespace | concepts |
Classes Index
| class | AABBComponent<TDomainTag, TNumericType, Args> |
|
Generic AABB value component with dirty-state tracking. More... | |
File Listing
The file content with the documentation metadata removed is:
11export namespace helios::engine::core::components {
20 template<typename TDomainTag, typename TNumericType, typename ... Args>
21 requires IsNumeric<TNumericType>
22 class AABBComponent {
30 AABBComponent() = default;
37 explicit AABBComponent(const aabb<TNumericType>& value) : value_(value){}
47 AABBComponent(const AABBComponent& other) :
48 value_(other.value_),
49 isDirty_(true) {}
52 AABBComponent& operator=(const AABBComponent&) = default;
56 AABBComponent& operator=(AABBComponent&&) noexcept = default;
79 void clearDirty() noexcept {
97 [[nodiscard]] aabb<TNumericType>& value() noexcept {
110 void setValue(const aabb<TNumericType> value) noexcept {
111 value_ = value;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.