mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
added box
This commit is contained in:
14
include/omath/3d_primitives/box.hpp
Normal file
14
include/omath/3d_primitives/box.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Created by Vlad on 4/18/2025.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#include <array>
|
||||
|
||||
|
||||
namespace omath::primitives
|
||||
{
|
||||
[[nodiscard]]
|
||||
std::array<Vector3<float>, 8> CreateBox(const Vector3<float>& top, const Vector3<float>& bottom,
|
||||
const Vector3<float>& dirForward, const Vector3<float>& dirRight);
|
||||
}
|
||||
Reference in New Issue
Block a user