Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ build*
/CMakeSettings.json
.DS_Store
*.swp
/.cache
2 changes: 2 additions & 0 deletions glm/ext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# pragma message("GLM: All extensions included (not recommended)")
#endif//GLM_MESSAGES

// IWYU pragma: begin_exports
#include "./ext/matrix_clip_space.hpp"
#include "./ext/matrix_common.hpp"

Expand Down Expand Up @@ -265,3 +266,4 @@
# include "./gtx/range.hpp"
#endif
#endif//GLM_ENABLE_EXPERIMENTAL
// IWYU pragma: end_exports
3 changes: 3 additions & 0 deletions glm/glm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
#include <cfloat>
#include <limits>
#include <cassert>

// IWYU pragma: begin_exports
#include "fwd.hpp"

#include "vec2.hpp"
Expand All @@ -135,3 +137,4 @@
#include "matrix.hpp"
#include "vector_relational.hpp"
#include "integer.hpp"
// IWYU pragma: end_exports
2 changes: 2 additions & 0 deletions glm/gtc/vec1.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#pragma once

// Dependency:
// IWYU pragma: begin_exports
#include "../ext/vector_bool1.hpp"
#include "../ext/vector_bool1_precision.hpp"
#include "../ext/vector_float1.hpp"
Expand All @@ -23,6 +24,7 @@
#include "../ext/vector_int1_sized.hpp"
#include "../ext/vector_uint1.hpp"
#include "../ext/vector_uint1_sized.hpp"
// IWYU pragma: end_exports

#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTC_vec1 extension included")
Expand Down
2 changes: 2 additions & 0 deletions glm/mat2x2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
/// @file glm/mat2x2.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double2x2.hpp"
#include "./ext/matrix_double2x2_precision.hpp"
#include "./ext/matrix_float2x2.hpp"
#include "./ext/matrix_float2x2_precision.hpp"
// IWYU pragma: end_exports

2 changes: 2 additions & 0 deletions glm/mat2x3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
/// @file glm/mat2x3.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double2x3.hpp"
#include "./ext/matrix_double2x3_precision.hpp"
#include "./ext/matrix_float2x3.hpp"
#include "./ext/matrix_float2x3_precision.hpp"
// IWYU pragma: end_exports

2 changes: 2 additions & 0 deletions glm/mat2x4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
/// @file glm/mat2x4.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double2x4.hpp"
#include "./ext/matrix_double2x4_precision.hpp"
#include "./ext/matrix_float2x4.hpp"
#include "./ext/matrix_float2x4_precision.hpp"
// IWYU pragma: end_exports

2 changes: 2 additions & 0 deletions glm/mat3x2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
/// @file glm/mat3x2.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double3x2.hpp"
#include "./ext/matrix_double3x2_precision.hpp"
#include "./ext/matrix_float3x2.hpp"
#include "./ext/matrix_float3x2_precision.hpp"
// IWYU pragma: end_exports

2 changes: 2 additions & 0 deletions glm/mat3x3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
/// @file glm/mat3x3.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double3x3.hpp"
#include "./ext/matrix_double3x3_precision.hpp"
#include "./ext/matrix_float3x3.hpp"
#include "./ext/matrix_float3x3_precision.hpp"
// IWYU pragma: end_exports
2 changes: 2 additions & 0 deletions glm/mat3x4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
/// @file glm/mat3x4.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double3x4.hpp"
#include "./ext/matrix_double3x4_precision.hpp"
#include "./ext/matrix_float3x4.hpp"
#include "./ext/matrix_float3x4_precision.hpp"
// IWYU pragma: end_exports
2 changes: 2 additions & 0 deletions glm/mat4x2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
/// @file glm/mat4x2.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double4x2.hpp"
#include "./ext/matrix_double4x2_precision.hpp"
#include "./ext/matrix_float4x2.hpp"
#include "./ext/matrix_float4x2_precision.hpp"
// IWYU pragma: end_exports

2 changes: 2 additions & 0 deletions glm/mat4x3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
/// @file glm/mat4x3.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double4x3.hpp"
#include "./ext/matrix_double4x3_precision.hpp"
#include "./ext/matrix_float4x3.hpp"
#include "./ext/matrix_float4x3_precision.hpp"
// IWYU pragma: end_exports
2 changes: 2 additions & 0 deletions glm/mat4x4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
/// @file glm/mat4x4.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/matrix_double4x4.hpp"
#include "./ext/matrix_double4x4_precision.hpp"
#include "./ext/matrix_float4x4.hpp"
#include "./ext/matrix_float4x4_precision.hpp"
// IWYU pragma: end_exports

2 changes: 2 additions & 0 deletions glm/matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "vec2.hpp"
#include "vec3.hpp"
#include "vec4.hpp"
// IWYU pragma: begin_exports
#include "mat2x2.hpp"
#include "mat2x3.hpp"
#include "mat2x4.hpp"
Expand All @@ -27,6 +28,7 @@
#include "mat4x2.hpp"
#include "mat4x3.hpp"
#include "mat4x4.hpp"
// IWYU pragma: end_exports

namespace glm {
namespace detail
Expand Down
2 changes: 2 additions & 0 deletions glm/vec2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/// @file glm/vec2.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/vector_bool2.hpp"
#include "./ext/vector_bool2_precision.hpp"
#include "./ext/vector_float2.hpp"
Expand All @@ -12,3 +13,4 @@
#include "./ext/vector_int2_sized.hpp"
#include "./ext/vector_uint2.hpp"
#include "./ext/vector_uint2_sized.hpp"
// IWYU pragma: end_exports
2 changes: 2 additions & 0 deletions glm/vec3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/// @file glm/vec3.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/vector_bool3.hpp"
#include "./ext/vector_bool3_precision.hpp"
#include "./ext/vector_float3.hpp"
Expand All @@ -12,3 +13,4 @@
#include "./ext/vector_int3_sized.hpp"
#include "./ext/vector_uint3.hpp"
#include "./ext/vector_uint3_sized.hpp"
// IWYU pragma: end_exports
2 changes: 2 additions & 0 deletions glm/vec4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/// @file glm/vec4.hpp

#pragma once
// IWYU pragma: begin_exports
#include "./ext/vector_bool4.hpp"
#include "./ext/vector_bool4_precision.hpp"
#include "./ext/vector_float4.hpp"
Expand All @@ -12,4 +13,5 @@
#include "./ext/vector_int4_sized.hpp"
#include "./ext/vector_uint4.hpp"
#include "./ext/vector_uint4_sized.hpp"
// IWYU pragma: end_exports