mirror of
https://github.com/g-truc/glm.git
synced 2024-11-09 20:21:47 +00:00
GLM bumps to version 1.0.0
This commit is contained in:
parent
673a963a0f
commit
d58f9bcfed
@ -11,7 +11,7 @@ set(GLM_VERSION_PATCH "${CMAKE_MATCH_1}")
|
||||
string(REGEX MATCH "#define[ ]+GLM_VERSION_REVISION[ ]+([0-9]+)" _ ${GLM_SETUP_FILE})
|
||||
set(GLM_VERSION_REVISION "${CMAKE_MATCH_1}")
|
||||
|
||||
set(GLM_VERSION ${GLM_VERSION_MAJOR}.${GLM_VERSION_MINOR}.${GLM_VERSION_PATCH}.${GLM_VERSION_REVISION})
|
||||
set(GLM_VERSION ${GLM_VERSION_MAJOR}.${GLM_VERSION_MINOR}.${GLM_VERSION_PATCH})
|
||||
project(glm VERSION ${GLM_VERSION} LANGUAGES CXX)
|
||||
message(STATUS "GLM: Version " ${GLM_VERSION})
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 10 KiB |
@ -3,15 +3,25 @@
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
||||
#define GLM_VERSION_MAJOR 0
|
||||
#define GLM_VERSION_MINOR 9
|
||||
#define GLM_VERSION_PATCH 9
|
||||
#define GLM_VERSION_REVISION 9
|
||||
#define GLM_VERSION 999
|
||||
#define GLM_VERSION_MESSAGE "GLM: version 0.9.9.9"
|
||||
#define GLM_VERSION_MAJOR 1
|
||||
#define GLM_VERSION_MINOR 0
|
||||
#define GLM_VERSION_PATCH 0
|
||||
#define GLM_VERSION_REVISION 0 // Deprecated
|
||||
#define GLM_VERSION 1000 // Deprecated
|
||||
#define GLM_VERSION_MESSAGE "GLM: version 1.0.0"
|
||||
|
||||
#define GLM_MAKE_API_VERSION(variant, major, minor, patch) \
|
||||
((((uint32_t)(variant)) << 29U) | (((uint32_t)(major)) << 22U) | (((uint32_t)(minor)) << 12U) | ((uint32_t)(patch)))
|
||||
|
||||
#define GLM_VERSION_COMPLETE GLM_MAKE_API_VERSION(0, GLM_VERSION_MAJOR, GLM_VERSION_MINOR, GLM_VERSION_PATCH)
|
||||
|
||||
#define GLM_SETUP_INCLUDED GLM_VERSION
|
||||
|
||||
#define GLM_GET_VERSION_VARIANT(version) ((uint32_t)(version) >> 29U)
|
||||
#define GLM_GET_VERSION_MAJOR(version) (((uint32_t)(version) >> 22U) & 0x7FU)
|
||||
#define GLM_GET_VERSION_MINOR(version) (((uint32_t)(version) >> 12U) & 0x3FFU)
|
||||
#define GLM_GET_VERSION_PATCH(version) ((uint32_t)(version) & 0xFFFU)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Active states
|
||||
|
||||
|
@ -105,7 +105,7 @@ target_link_libraries(main PRIVATE glm::glm)
|
||||
|
||||
## Release notes
|
||||
|
||||
### [GLM 0.9.9.9](https://github.com/g-truc/glm/releases/tag/0.9.9.9) - 2024-01-XX
|
||||
### [GLM 1.0.0](https://github.com/g-truc/glm/releases/tag/1.0.0) - 2024-01-XX
|
||||
#### Features:
|
||||
- Added *GLM_EXT_scalar_reciprocal* with tests
|
||||
- Added *GLM_EXT_vector_reciprocal* with tests
|
||||
|
Loading…
Reference in New Issue
Block a user