mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
added opengl primitives
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user