Skip to content

Commit

Permalink
[misc] Move Transformations to 3D
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-bremond committed Sep 4, 2018
1 parent 00294a9 commit 1980629
Show file tree
Hide file tree
Showing 53 changed files with 1,163 additions and 364 deletions.
4 changes: 2 additions & 2 deletions include/Library/Mathematics/Geometry/3D/Object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include <Library/Mathematics/Geometry/Transformations/Rotations/Quaternion.hpp>
#include <Library/Mathematics/Geometry/3D/Transformations/Rotations/Quaternion.hpp>
#include <Library/Mathematics/Objects/Vector.hpp>

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand All @@ -34,7 +34,7 @@ class Intersection ;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

using library::math::obj::Vector3d ;
using library::math::geom::trf::rot::Quaternion ;
using library::math::geom::d3::trf::rot::Quaternion ;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
4 changes: 2 additions & 2 deletions include/Library/Mathematics/Geometry/3D/Objects/Ellipsoid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef __Library_Mathematics_Geometry_3D_Objects_Ellipsoid__
#define __Library_Mathematics_Geometry_3D_Objects_Ellipsoid__

#include <Library/Mathematics/Geometry/Transformations/Rotations/Quaternion.hpp>
#include <Library/Mathematics/Geometry/3D/Transformations/Rotations/Quaternion.hpp>
#include <Library/Mathematics/Geometry/3D/Objects/Point.hpp>
#include <Library/Mathematics/Geometry/3D/Object.hpp>

Expand All @@ -37,7 +37,7 @@ using library::math::obj::Matrix3d ;
using library::math::geom::d3::Object ;
using library::math::geom::d3::objects::Point ;
using library::math::geom::d3::Intersection ;
using library::math::geom::trf::rot::Quaternion ;
using library::math::geom::d3::trf::rot::Quaternion ;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
2 changes: 1 addition & 1 deletion include/Library/Mathematics/Geometry/3D/Objects/Point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ using library::core::types::Real ;

using library::math::obj::Vector3d ;
using library::math::geom::d3::Object ;
using library::math::geom::trf::rot::Quaternion ;
using library::math::geom::d3::trf::rot::Quaternion ;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ using library::core::ctnr::Array ;
using library::math::obj::Vector3d ;
using library::math::geom::d3::Object ;
using library::math::geom::d3::objects::Point ;
using library::math::geom::trf::rot::Quaternion ;
using library::math::geom::d3::trf::rot::Quaternion ;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
4 changes: 2 additions & 2 deletions include/Library/Mathematics/Geometry/3D/Transformation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef __Library_Mathematics_Geometry_3D_Transformation__
#define __Library_Mathematics_Geometry_3D_Transformation__

#include <Library/Mathematics/Geometry/Transformations/Rotations/RotationVector.hpp>
#include <Library/Mathematics/Geometry/3D/Transformations/Rotations/RotationVector.hpp>
#include <Library/Mathematics/Geometry/3D/Objects/Point.hpp>
#include <Library/Mathematics/Geometry/3D/Object.hpp>
#include <Library/Mathematics/Geometry/Angle.hpp>
Expand Down Expand Up @@ -45,7 +45,7 @@ using library::math::obj::Matrix4d ;
using library::math::geom::Angle ;
using library::math::geom::d3::Object ;
using library::math::geom::d3::objects::Point ;
using library::math::geom::trf::rot::RotationVector ;
using library::math::geom::d3::trf::rot::RotationVector ;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/// @project Library/Mathematics
/// @file Library/Mathematics/Transformations/Rotations/EulerAngle.hpp
/// @file Library/Mathematics/Geometry/3D/Transformations/Rotations/EulerAngle.hpp
/// @author Lucas Brémond <[email protected]>
/// @license TBD

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef __Library_Mathematics_Geometry_Transformations_Rotations_EulerAngle__
#define __Library_Mathematics_Geometry_Transformations_Rotations_EulerAngle__
#ifndef __Library_Mathematics_Geometry_3D_Transformations_Rotations_EulerAngle__
#define __Library_Mathematics_Geometry_3D_Transformations_Rotations_EulerAngle__

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand All @@ -18,6 +18,8 @@ namespace math
{
namespace geom
{
namespace d3
{
namespace trf
{
namespace rot
Expand All @@ -34,6 +36,7 @@ namespace rot
}
}
}
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
Loading

0 comments on commit 1980629

Please sign in to comment.