added box

This commit is contained in:
2025-04-18 00:43:46 +03:00
parent baf7ee8f88
commit 492ddfd566
7 changed files with 55 additions and 3 deletions

View 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);
}