added opengl primitives

This commit is contained in:
2026-01-27 00:33:35 +03:00
parent 26fda5402e
commit 2a2832c75f
4 changed files with 23 additions and 11 deletions

View File

@@ -2,10 +2,11 @@
// Created by Vladislav on 11.01.2026.
//
#include "omath/3d_primitives/box.hpp"
#include "omath/engines/opengl_engine/primitives.hpp"
#include <gtest/gtest.h>
TEST(test, test)
{
auto result = omath::primitives::create_box({0.f, 30.f, 0.f}, {}, omath::opengl_engine::k_abs_forward,
auto result = omath::primitives::create_box<omath::opengl_engine::BoxMesh>({0.f, 30.f, 0.f}, {}, omath::opengl_engine::k_abs_forward,
omath::opengl_engine::k_abs_right);
}