Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/godot_cpp/variant/aabb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ struct [[nodiscard]] AABB {
position(p_pos),
size(p_size) {
}
constexpr AABB(real_t p_pos_x, real_t p_pos_y, real_t p_pos_z, real_t p_size_x, real_t p_size_y, real_t p_size_z) :
position(p_pos_x, p_pos_y, p_pos_z),
size(p_size_x, p_size_y, p_size_z) {
}
};

inline bool AABB::intersects(const AABB &p_aabb) const {
Expand Down
Loading