summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/integer.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2021-06-22 02:38:30 +0200
committerGitHub <noreply@github.com>2021-06-22 02:38:30 +0200
commitca7bcf9f7dc5eb47ccbec1049b323f0604dabadd (patch)
tree33d7d2673ba0da8a92323b07d061f655c719ae40 /external/include/glm/gtx/integer.hpp
parentMerge pull request #44 from LaG1924/fix/protocol_support (diff)
parentUpdated build instructions and added MacOS #49 (diff)
downloadAltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar
AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.gz
AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.bz2
AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.lz
AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.xz
AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.zst
AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.zip
Diffstat (limited to '')
-rw-r--r--external/include/glm/gtx/integer.hpp76
1 files changed, 0 insertions, 76 deletions
diff --git a/external/include/glm/gtx/integer.hpp b/external/include/glm/gtx/integer.hpp
deleted file mode 100644
index 7b80209..0000000
--- a/external/include/glm/gtx/integer.hpp
+++ /dev/null
@@ -1,76 +0,0 @@
-/// @ref gtx_integer
-/// @file glm/gtx/integer.hpp
-///
-/// @see core (dependence)
-///
-/// @defgroup gtx_integer GLM_GTX_integer
-/// @ingroup gtx
-///
-/// Include <glm/gtx/integer.hpp> to use the features of this extension.
-///
-/// Add support for integer for core functions
-
-#pragma once
-
-// Dependency:
-#include "../glm.hpp"
-#include "../gtc/integer.hpp"
-
-#ifndef GLM_ENABLE_EXPERIMENTAL
-# error "GLM: GLM_GTX_integer is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-#endif
-
-#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-# pragma message("GLM: GLM_GTX_integer extension included")
-#endif
-
-namespace glm
-{
- /// @addtogroup gtx_integer
- /// @{
-
- //! Returns x raised to the y power.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL int pow(int x, uint y);
-
- //! Returns the positive square root of x.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL int sqrt(int x);
-
- //! Returns the floor log2 of x.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
-
- //! Modulus. Returns x - y * floor(x / y) for each component in x using the floating point value y.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL int mod(int x, int y);
-
- //! Return the factorial value of a number (!12 max, integer only)
- //! From GLM_GTX_integer extension.
- template<typename genType>
- GLM_FUNC_DECL genType factorial(genType const& x);
-
- //! 32bit signed integer.
- //! From GLM_GTX_integer extension.
- typedef signed int sint;
-
- //! Returns x raised to the y power.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint pow(uint x, uint y);
-
- //! Returns the positive square root of x.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint sqrt(uint x);
-
- //! Modulus. Returns x - y * floor(x / y) for each component in x using the floating point value y.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint mod(uint x, uint y);
-
- //! Returns the number of leading zeros.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint nlz(uint x);
-
- /// @}
-}//namespace glm
-
-#include "integer.inl"