mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
mesh improvement
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
// Created by Vladislav on 11.01.2026.
|
||||
//
|
||||
#include "omath/3d_primitives/box.hpp"
|
||||
#include "omath/collision/line_tracer.hpp"
|
||||
#include "omath/engines/opengl_engine/primitives.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(test, test)
|
||||
{
|
||||
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);
|
||||
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);
|
||||
|
||||
omath::collision::Ray ray{.start = {0, 0, 0}, .end = {-100, 0, 0}};
|
||||
std::ignore = omath::collision::LineTracer::get_ray_hit_point(ray, result);
|
||||
}
|
||||
Reference in New Issue
Block a user