basic qua headers

This commit is contained in:
BlackMATov
2021-01-20 21:31:27 +07:00
parent acf5b5be73
commit c5af0faafa
6 changed files with 87 additions and 0 deletions

View File

@@ -14,5 +14,8 @@
#include "vmath_mat.hpp" #include "vmath_mat.hpp"
#include "vmath_mat_fun.hpp" #include "vmath_mat_fun.hpp"
#include "vmath_qua.hpp"
#include "vmath_qua_fun.hpp"
#include "vmath_vec.hpp" #include "vmath_vec.hpp"
#include "vmath_vec_fun.hpp" #include "vmath_vec_fun.hpp"

View File

@@ -91,3 +91,12 @@ namespace vmath_hpp
using ptrdiff3x3 = mat<std::ptrdiff_t, 3>; using ptrdiff3x3 = mat<std::ptrdiff_t, 3>;
using ptrdiff4x4 = mat<std::ptrdiff_t, 4>; using ptrdiff4x4 = mat<std::ptrdiff_t, 4>;
} }
namespace vmath_hpp
{
template < typename T >
class qua;
using fqua = qua<float>;
using dqua = qua<double>;
}

View File

@@ -0,0 +1,17 @@
/*******************************************************************************
* This file is part of the "https://github.com/blackmatov/vmath.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2020-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/
#pragma once
#include "vmath_fwd.hpp"
namespace vmath_hpp::detail
{
}
namespace vmath_hpp
{
}

View File

@@ -0,0 +1,24 @@
/*******************************************************************************
* This file is part of the "https://github.com/blackmatov/vmath.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2020-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/
#pragma once
#include "vmath_fwd.hpp"
#include "vmath_fun.hpp"
#include "vmath_qua.hpp"
namespace vmath_hpp::detail::impl
{
}
namespace vmath_hpp::detail
{
}
namespace vmath_hpp
{
}

View File

@@ -0,0 +1,17 @@
/*******************************************************************************
* This file is part of the "https://github.com/blackmatov/vmath.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2020-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/
#include "vmath_tests.hpp"
#include "doctest/doctest.hpp"
namespace
{
using namespace vmath_hpp;
using namespace vmath_tests;
}
TEST_CASE("vmath/qua_fun") {
}

View File

@@ -0,0 +1,17 @@
/*******************************************************************************
* This file is part of the "https://github.com/blackmatov/vmath.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2020-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/
#include "vmath_tests.hpp"
#include "doctest/doctest.hpp"
namespace
{
using namespace vmath_hpp;
using namespace vmath_tests;
}
TEST_CASE("vmath/qua") {
}