mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-14 12:28:58 +07:00
basic qua headers
This commit is contained in:
@@ -14,5 +14,8 @@
|
||||
#include "vmath_mat.hpp"
|
||||
#include "vmath_mat_fun.hpp"
|
||||
|
||||
#include "vmath_qua.hpp"
|
||||
#include "vmath_qua_fun.hpp"
|
||||
|
||||
#include "vmath_vec.hpp"
|
||||
#include "vmath_vec_fun.hpp"
|
||||
|
||||
@@ -91,3 +91,12 @@ namespace vmath_hpp
|
||||
using ptrdiff3x3 = mat<std::ptrdiff_t, 3>;
|
||||
using ptrdiff4x4 = mat<std::ptrdiff_t, 4>;
|
||||
}
|
||||
|
||||
namespace vmath_hpp
|
||||
{
|
||||
template < typename T >
|
||||
class qua;
|
||||
|
||||
using fqua = qua<float>;
|
||||
using dqua = qua<double>;
|
||||
}
|
||||
|
||||
17
headers/vmath.hpp/vmath_qua.hpp
Normal file
17
headers/vmath.hpp/vmath_qua.hpp
Normal 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
|
||||
{
|
||||
}
|
||||
24
headers/vmath.hpp/vmath_qua_fun.hpp
Normal file
24
headers/vmath.hpp/vmath_qua_fun.hpp
Normal 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
|
||||
{
|
||||
}
|
||||
17
untests/vmath_qua_fun_tests.cpp
Normal file
17
untests/vmath_qua_fun_tests.cpp
Normal 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") {
|
||||
}
|
||||
17
untests/vmath_qua_tests.cpp
Normal file
17
untests/vmath_qua_tests.cpp
Normal 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") {
|
||||
}
|
||||
Reference in New Issue
Block a user