Skip to content

Commit

Permalink
color_helpers: fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkautarch committed Dec 3, 2024
1 parent 4f28eab commit e13b7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/color_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
#include <cmath>
#include <vector>

#include "Utils/Directives.h"

#include <glm/vec2.hpp> // glm::vec2
#include <glm/vec3.hpp> // glm::vec3
#include <glm/gtx/component_wise.hpp>

FAST_MATH_ON
#include <glm/mat3x3.hpp> // glm::mat3
FAST_MATH_OFF
#include <glm/gtx/component_wise.hpp>
FAST_MATH_ON

// Color utils
inline int quantize( float fVal, float fMaxVal )
Expand Down
1 change: 0 additions & 1 deletion src/color_helpers_impl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "Utils/Directives.h"

#include "color_helpers.h"

Expand Down

0 comments on commit e13b7b4

Please sign in to comment.