mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Correções em numerics.hpp
This commit is contained in:
parent
79c797d86d
commit
bd65e9fb55
@ -2,11 +2,18 @@
|
||||
#define XNA_COMMON_VECTORS_HPP
|
||||
|
||||
#include <cmath>
|
||||
#include "../default.hpp"
|
||||
#include <optional>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
namespace xna {
|
||||
struct Vector2;
|
||||
struct Vector3;
|
||||
struct Vector4;
|
||||
struct Matrix;
|
||||
struct Quaternion;
|
||||
struct Plane;
|
||||
|
||||
//Represents a rational number.
|
||||
struct RationalNumber {
|
||||
constexpr RationalNumber() = default;
|
||||
|
23
includes/xna/forward.hpp
Normal file
23
includes/xna/forward.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef XNA_FORWARD_HPP
|
||||
#define XNA_FORWARD_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
|
||||
struct RationalNumber;
|
||||
struct Point;
|
||||
struct Vector2;
|
||||
struct Vector3;
|
||||
struct Vector4;
|
||||
struct Matrix;
|
||||
struct Quaternion;
|
||||
|
||||
using P_RationalNumber = std::shared_ptr<RationalNumber>;
|
||||
using P_Pointer = std::shared_ptr<Point>;
|
||||
using P_Vector2 = std::shared_ptr<Vector2>;
|
||||
using P_Vector3 = std::shared_ptr<Vector3>;
|
||||
using P_Vector4 = std::shared_ptr<Vector4>;
|
||||
using P_Quaternion = std::shared_ptr<Quaternion>;
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user