mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 23:43:26 +00:00
Moves linear algebra headers to a new subdirectory to improve project structure. Updates includes to reflect the directory change. Adds vcpkg to the tracked repositories.
17 lines
487 B
C++
17 lines
487 B
C++
//
|
|
// Created by Vlad on 8/28/2025.
|
|
//
|
|
|
|
#pragma once
|
|
#include "omath/linear_algebra/vector3.hpp"
|
|
#include "omath/triangle.hpp"
|
|
#include <array>
|
|
|
|
namespace omath::primitives
|
|
{
|
|
[[nodiscard]]
|
|
std::array<Triangle<Vector3<float>>, 2> create_plane(const Vector3<float>& vertex_a,
|
|
const Vector3<float>& vertex_b,
|
|
const Vector3<float>& direction, float size) noexcept;
|
|
}
|