mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-25 12:23:26 +00:00
added AABB check
This commit is contained in:
16
include/omath/3d_primitives/aabb.hpp
Normal file
16
include/omath/3d_primitives/aabb.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Created by Vladislav on 24.03.2026.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#include "omath/linear_algebra/vector3.hpp"
|
||||
|
||||
namespace omath::primitives
|
||||
{
|
||||
template<class Type>
|
||||
struct Aabb final
|
||||
{
|
||||
Vector3<Type> min;
|
||||
Vector3<Type> max;
|
||||
};
|
||||
} // namespace omath::primitives
|
||||
Reference in New Issue
Block a user