From bd65e9fb555ed37fa6b1a4bc64ca511b7dd3f617 Mon Sep 17 00:00:00 2001 From: Danilo Date: Sat, 9 Nov 2024 20:56:59 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=B5es=20em=20numerics.hpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/xna/common/numerics.hpp | 9 ++++++++- includes/xna/forward.hpp | 23 +++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 includes/xna/forward.hpp diff --git a/includes/xna/common/numerics.hpp b/includes/xna/common/numerics.hpp index 08599df..8f9a40b 100644 --- a/includes/xna/common/numerics.hpp +++ b/includes/xna/common/numerics.hpp @@ -2,11 +2,18 @@ #define XNA_COMMON_VECTORS_HPP #include -#include "../default.hpp" #include #include +#include namespace xna { + struct Vector2; + struct Vector3; + struct Vector4; + struct Matrix; + struct Quaternion; + struct Plane; + //Represents a rational number. struct RationalNumber { constexpr RationalNumber() = default; diff --git a/includes/xna/forward.hpp b/includes/xna/forward.hpp new file mode 100644 index 0000000..b115841 --- /dev/null +++ b/includes/xna/forward.hpp @@ -0,0 +1,23 @@ +#ifndef XNA_FORWARD_HPP +#define XNA_FORWARD_HPP + +#include + + + +struct RationalNumber; +struct Point; +struct Vector2; +struct Vector3; +struct Vector4; +struct Matrix; +struct Quaternion; + +using P_RationalNumber = std::shared_ptr; +using P_Pointer = std::shared_ptr; +using P_Vector2 = std::shared_ptr; +using P_Vector3 = std::shared_ptr; +using P_Vector4 = std::shared_ptr; +using P_Quaternion = std::shared_ptr; + +#endif \ No newline at end of file