fixed forward decl

This commit is contained in:
2026-03-10 18:04:31 +03:00
parent cbdabd3fc2
commit f707ac1adb
3 changed files with 1 additions and 8 deletions

View File

@@ -3,9 +3,7 @@
//
#pragma once
#ifdef OMATH_ENABLE_LUA
// ReSharper disable once CppInconsistentNaming
struct lua_State;
#include <sol/forward.hpp>
namespace omath::lua
{
void register_lib(lua_State* lua_state);

View File

@@ -2,7 +2,6 @@
// Created by orange on 07.03.2026.
//
#ifdef OMATH_ENABLE_LUA
#include "omath/lua/lua.hpp"
#include <sol/sol.hpp>
#include <omath/engines/cry_engine/camera.hpp>
#include <omath/engines/cry_engine/constants.hpp>
@@ -18,9 +17,6 @@
#include <omath/engines/unity_engine/constants.hpp>
#include <omath/engines/unreal_engine/camera.hpp>
#include <omath/engines/unreal_engine/constants.hpp>
#include <omath/linear_algebra/vector3.hpp>
#include <omath/projection/camera.hpp>
#include <omath/projection/error_codes.hpp>
#include <string_view>
namespace

View File

@@ -2,7 +2,6 @@
// Created by orange on 07.03.2026.
//
#ifdef OMATH_ENABLE_LUA
#include "omath/lua/lua.hpp"
#include <sol/sol.hpp>
#include <omath/linear_algebra/vector2.hpp>