Files
omath/include/omath/projection/error_codes.hpp
Orange de61f7a5d8 Adds screen to world space conversion
Adds functionality to convert screen coordinates to world space, including handling for cases where the inverse view projection matrix is singular or when the world position is out of screen bounds.

Also exposes Camera class to unit tests.
2025-09-09 01:31:23 +03:00

15 lines
237 B
C++

//
// Created by Vlad on 03.09.2024.
//
#pragma once
#include <cstdint>
namespace omath::projection
{
enum class Error : uint16_t
{
WORLD_POSITION_IS_OUT_OF_SCREEN_BOUNDS,
INV_VIEW_PROJ_MAT_DET_EQ_ZERO,
};
}