mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 23:13:26 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29795e9906 | |||
| 0328fef4f7 |
@@ -226,7 +226,7 @@ namespace omath
|
|||||||
return {static_cast<float>(this->x), static_cast<float>(this->y)};
|
return {static_cast<float>(this->x), static_cast<float>(this->y)};
|
||||||
}
|
}
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
static Vector3<float> from_im_vec2(const ImVec2& other) noexcept
|
static Vector2 from_im_vec2(const ImVec2& other) noexcept
|
||||||
{
|
{
|
||||||
return {static_cast<Type>(other.x), static_cast<Type>(other.y)};
|
return {static_cast<Type>(other.x), static_cast<Type>(other.y)};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -198,7 +198,6 @@ namespace omath
|
|||||||
{
|
{
|
||||||
return {static_cast<Type>(other.x), static_cast<Type>(other.y), static_cast<Type>(other.z)};
|
return {static_cast<Type>(other.x), static_cast<Type>(other.y), static_cast<Type>(other.z)};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
} // namespace omath
|
} // namespace omath
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Created by Vlad on 8/11/2025.
|
// Created by Vlad on 8/11/2025.
|
||||||
//
|
//
|
||||||
#include "omath/engines/iw_engine/traits/camera_trait.hpp"
|
#include "omath/engines/iw_engine/traits/camera_trait.hpp"
|
||||||
|
#include "omath/engines/iw_engine/formulas.hpp"
|
||||||
namespace omath::iw_engine
|
namespace omath::iw_engine
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Created by Vlad on 8/11/2025.
|
// Created by Vlad on 8/11/2025.
|
||||||
//
|
//
|
||||||
#include "omath/engines/opengl_engine/traits/camera_trait.hpp"
|
#include "omath/engines/opengl_engine/traits/camera_trait.hpp"
|
||||||
|
#include "omath/engines/opengl_engine/formulas.hpp"
|
||||||
|
|
||||||
namespace omath::opengl_engine
|
namespace omath::opengl_engine
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Created by Vlad on 8/11/2025.
|
// Created by Vlad on 8/11/2025.
|
||||||
//
|
//
|
||||||
#include "omath/engines/source_engine/traits/camera_trait.hpp"
|
#include "omath/engines/source_engine/traits/camera_trait.hpp"
|
||||||
|
#include "omath/engines/source_engine/formulas.hpp"
|
||||||
namespace omath::source_engine
|
namespace omath::source_engine
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user