mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
18 lines
481 B
C++
18 lines
481 B
C++
//
|
|
// Created by Vlad on 4/18/2025.
|
|
//
|
|
|
|
#pragma once
|
|
#include <array>
|
|
#include "omath/triangle.hpp"
|
|
#include "omath/vector3.hpp"
|
|
|
|
|
|
namespace omath::primitives
|
|
{
|
|
[[nodiscard]]
|
|
std::array<Triangle<Vector3<float>>, 12> create_box(const Vector3<float>& top, const Vector3<float>& bottom,
|
|
const Vector3<float>& dir_forward, const Vector3<float>& dir_right,
|
|
float ratio = 4.f) noexcept;
|
|
}
|