Files
omath/tests/UnitTestProjection.cpp
2024-10-18 17:20:23 +03:00

15 lines
364 B
C++

//
// Created by Vlad on 27.08.2024.
//
#include <complex>
#include <gtest/gtest.h>
#include <omath/Matrix.h>
#include <print>
#include <omath/projection/Camera.h>
TEST(UnitTestProjection, Projection)
{
const omath::projection::Camera camera({0.f, 0.f, 0.f}, {0, 0.f, 0.f} , {1920.f, 1080.f}, 110.f, 0.375f, 5000.f);
camera.WorldToScreen({5000, 0, 0});
}