Skip to content

Commit 14e1010

Browse files
committed
reverted changes, use glm
1 parent 911d8fc commit 14e1010

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/nbl/builtin/hlsl/tgmath.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ inline T floor(NBL_CONST_REF_ARG(T) val)
9090
#ifdef __HLSL_VERSION
9191
return spirv::floor<T>(val);
9292
#else
93-
return glm::floor<T>(val);
93+
return glm::floor(val);
9494
#endif
9595

9696
}
@@ -181,7 +181,7 @@ inline T abs(NBL_CONST_REF_ARG(T) val)
181181
#ifdef __HLSL_VERSION
182182
return abs(val);
183183
#else
184-
return glm::abs<T>(val);
184+
return glm::abs(val);
185185
#endif
186186
}
187187

0 commit comments

Comments
 (0)